Virtualenv loses context

rhythmicdevil at rhythmicdevil at
Wed Dec 19 15:23:00 CET 2012

I wrote this little test script to prove my virtualenv is reading from global site packages:

Script Content
from distutils.sysconfig import get_python_lib
print (get_python_lib())

Script Output
(botnet_etl)[swright at localhost app]$ python 
(botnet_etl)[swright at localhost app]$ 

Please note that (botnet_etl) is the name of the virtualenv

More information about the Python-list mailing list