[CentralOH] virtualenv / wsgiref

Mark Erbaugh mark at microenh.com
Mon Nov 8 16:15:41 CET 2010

I'm trying to learn virtualenv (thanks, Austin). I setup a virtual environment with no-site-packages. When I do a pip freeze, it shows wsgiref==0.1.2. This happens on both my Mac (default Python install on OSX 10.6.4) and on Ubuntu 10.10.  Is wsgiref a requirement of virtualenv?

Also, on my Mac, if I launch Python in the virtual environment, as expected, libraries installed in my site-packages directory are not available; however, if I launch idle from within that virtual environment, those libraries ARE available. I assume that the idle launch script somehow restores the default environment.


More information about the CentralOH mailing list