I am trying to install mysql-python on my virtualenv and am getting a mysql_config not found error.
After reading this forums answer to the same problem, I realized that I am getting the error because I installed the virtual environment with --no-site-packages
.
The solution given is to install with the site packages. Pyramid documentation says that it is important to install the virtualenv with no site packages for pyramid to work properly. So I'm trying to figure out how to get mysql working with my current installation.
Here are my thoughts on options, if anyone can lend their input I'd be thankful!
Solution 1: Uncomment mysql_config - /usr/local/bin/mysql_config and update the path. the problem with this is that I don't know if it is good practice to do this, if it will solve my error or not and what the actual path to mysql_config is.
The second solution is on the link above and involves creating symbolic links. They say "To find the links that need to be made you can consult the egg description in the file /usr/local/lib/python2.7/site-packages/MySQL_python-1.2.4-py2.7.egg-info/installed-files.txt"
But I can't find this file, it doesn't seem to exist.
Anyone run into this problem, who can help?