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

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -