Friday, 15 June 2012

python - VirtualEnv creates envs. with all system wide packages instead of clean env -



python - VirtualEnv creates envs. with all system wide packages instead of clean env -

early on made error of not using virtualenv , hence have many packages installed scheme wide. when create virtualenv , activate it, if pip freeze or pip list, shows packages have installed scheme wide.

how start clean virtualenv?

thanks

use --no-site-packages option.

example:

virtualenv --no-site-packages /some/path

note: useful virtualenvwrapper accepts of same command-line options virtualenv

python virtualenv

No comments:

Post a Comment