virtualenv - create an env that points to a specific python installation -


i have python installation several packages linked access calling python2.7. create virtual env can type python , access particular installation without reinstalling associated it. how accomplish (virtual env, symlink, etc...) without changing default env?

virtualenv allows specify python executable want use --python (or -p) option, e.g.:

virtualenv --python=/usr/bin/python2.7 path/to/env 

you can use --system-site-packages include packages installed globally.


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -