Wednesday, 15 July 2015

python - Understanding virtual environment behavior -



python - Understanding virtual environment behavior -

i'm trying create virtual environment , install older version of pandas. i'm working anaconda , conda create create new environment. i've created environment base of operations python, installed pandas 0.13.1, when activate environment , check pandas.__version__ it's telling me imported pandas version regular development environment (anaconda), pandas 0.14.0.

i've included screenshot of install process taking place within environment, env. i've redacted env name , username company less thrilled back-end 3rd party installs...

the little screen section version.py pandas folder within env environment

even checking where python shows env first interpreter listed:

set pythonpath regular , virtual env:

trying utilize conda virtual environment creation anaconda tailored utilize instead of virtualenv.

you should not utilize pythonpath when using anaconda. virtual environments conflict pythonpath create sure have python bundle directories in pythonpath not managed anaconda.

in case, pythonpath should c:\utilitycode;c:\pycharmprojects.

python virtualenv anaconda conda

No comments:

Post a Comment