e.g., if you installed default is python 3, and you want to use python 2:
-
Remove a created environment
e.g., removing an environment named "Py3"
- conda env remove -n Py3
Activate and deactivate the environment (env):
-
-
You can install packages for python 2
Use spyder with python 2.7
You can run the spyder app with python 2.7 by activating the python2 env , and type spyder in the command line.
- source activate python2
- spyder
In case the spyder is not automatically installed during creating the env , you should install it first.
- conda install -n python2 spyder
No comments:
Post a Comment