On 09.02.2015 07:27, Ryan J Ollos wrote:
> On Fri, Feb 6, 2015 at 7:52 PM, Ted <[email protected]
> <mailto:[email protected]>> wrote:
>
>     nope... I'm not a python developer so I don't know where it
>     actually looks for these.
>
>     (bhenv)[~/data/apps/bhenv]python
>     Python 2.7.8 (default, Nov 10 2014, 08:19:18)
>     [GCC 4.9.2 20141101 (Red Hat 4.9.2-1)] on linux2
>     Type "help", "copyright", "credits" or "license" for more information.
>     >>> import MySQLdb
>     Traceback (most recent call last):
>       File "<stdin>", line 1, in <module>
>     ImportError: No module named MySQLdb
>     >>>
>
>
>  It seems that MySQLdb is not being inherited from the global
> site-packages directory. You could try "easy_install MySQLdb", using
> easy_install from your virtualenv.

Virtualenv defaults to --no-site-packages, so that may well be the case.

-- Brane

Reply via email to