virtualenv --no-site-packages foobar
New python exe开发者_StackOverflow社区cutable in foobar/bin/python
Installing setuptools............done.
What happened here?
lsvirtualenv
returns nothing.
There is a difference between virtualenv and virtualenvwrapper.
An env created by virtualenv --no-site-packages foobar
will not be seen by the virtualenvwrapper functions, such as lsvirtualenv
.
If you want to tap the unbridled power of the virtualenvwrapper, follow these instructions and create a new env by mkvirtualenv --no-site-packages foobar
精彩评论