Custom Search

Thursday, June 9, 2011

how to install all python packages to virtualenv directory without pointing to global site-packages directory if package already installed there

how to install all python packages to virtualenv directory without pointing to global site-packages directory if package already installed there.

use option --no-site-packages

Example:
#virtualenv myvenv --no-site-packages
#virtualenv test_project --no-site-packages

No comments:

Post a Comment