How to import python-mysql package not installed in virtualenvironment?
Question: I installed python-mysql using the following:
<http://www.lfd.uci.edu/~gohlke/pythonlibs/#mysql-python>

The issue is on install, I have only the option to pick my root python install
C:\Python27 and no virtualenvironment.

When I create my virtualenv "testenv", it does not have the "python-mysql"
package installed. How can I make it such that "testenv" can access the
"python-mysql" installed outside of my environment using the installer from
the link above?

I am running Windows 7.


Answer: If you create your virtual environment as below you will have access to the
main Python packages.

    
    
    virtualenv --system-site-packages ENV
    

It is usual to install all your packages inside the virtual environment. To do
this you need to use pip or easy_install.

