Switch between spyder for python 2 and 3

From what I learned in the documentation, it says that you can easily switch between 2 python environments just by creating a new variable using the command line

"conda create -n python34 python = 3.4 anaconda" if I already have python 2.7 installed.

An environment called python 34 has been created and we can activate it using "activate python 34". But all this happens, as the execution of the above commands occurs on the Windows command line. I want to switch between python versions in spyder IDE, how to do this?

+6
source share
1 answer

Spyder starts from the environment you are using.

, python 3 spyder, activate python34 spyder.

python 2 spyder, deavtivate python3, spyder.

, .

N.b. spyder , , conda install -c anaconda spyder=3.1.3

+4

Source: https://habr.com/ru/post/1015731/


All Articles