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
Post a Comment