Wednesday, February 21, 2018

Creating environment for Spyder


There is an option to create virtual environments in Anaconda with required Python version.
conda create -n myenv python=3.4 anaconda
This will create virtual environment to virtualenv. To activate it :
source activate myenv   # (in linux)
activate myenv          # (in windows - note that you should be in your c:\anaconda2 directory)
To check the current environment has been changed:
conda info -e
And now to run Spyder with Python 3.4 just type:
spyder

No comments :

Post a Comment