MySQL and Python on OSX
Because I rarely use MySQL nowadays and because how often do you set up a new machine, this is a reminder to myself on how to get mysql-python installed in a virtualenv
- Add /usr/local/mysql/bin to your path (permanently in your .profile)
- If “pip install mysql-python” fails, try this version: ‘sudo ARCHFLAGS=”-arch $(uname -m)” pip install mysql-python’
- Realize none of that made much of a difference and then blindly copy & paste from here
- Discover that’s still not quite everything and make this symbolic link (unless the paths change between now and when you find this)