On Mon, Apr 14, 2008 at 12:12 PM, Lukasz Szybalski <[EMAIL PROTECTED]> wrote: > On Mon, Apr 14, 2008 at 11:38 AM, jason kirtland <[EMAIL PROTECTED]> wrote: >> >> Lukasz Szybalski wrote: >> > On Mon, Apr 14, 2008 at 11:30 AM, jason kirtland <[EMAIL PROTECTED]> >> wrote: >> >> Lukasz Szybalski wrote: >> >> > Hello, >> >> > Below you can find instructions on how to setup sqlalchemy in virtual >> >> > environment. >> >> > >> >> > >> http://lucasmanual.com/mywiki/TurboGears#head-36fb4094da01b8c28e8bdca803c0f05774eb13b8 >> >> >> >> Installing SQLAlchemy in a virtualenv is the same as for any package on >> >> listed on PYPI: >> >> >> > >> > What does this line do? >> >> $ source myenv/bin/activate >> >> http://pypi.python.org/pypi/virtualenv#activate-script >> >> >> > Which version of sqlalchemy does it install? current stable? trunk? or? >> >> $ easy_install SQLAlchemy >> >> The latest on pypi. You can also do >> >> $ easy_install SQLAlchemy==dev # for svn trunk >> $ easy_install SQLAlchemy==0.4.5 # whatever version >> >> http://peak.telecommunity.com/DevCenter/EasyInstall >> >> >> > > Thanks guys, the active script was the last piece of the puzzle. > Updated: > http://lucasmanual.com/mywiki/TurboGears#head-36fb4094da01b8c28e8bdca803c0f05774eb13b8 > > Lucas >
I have mysqldb installed in the system wide install how do I tell virtualenv to use it? I don't see a need to install it in virtualenv again so I guess I just have to givea right path? How, and in which file? Thanks, Lucas File "/usr/local/pythonenv/BASELINE/lib/python2.4/site-packages/SQLAlchemy-0.4.6dev_r4675-py2.4.egg/sqlalchemy/databases/mysql.py", line 1430, in dbapi import MySQLdb as mysql ImportError: No module named MySQLdb --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---