Uri
Uri

Reputation: 91

anaconda launches the wrong python and spyder version

I installed anaconda on ubuntu 18 (not for the first time) and created a new environment (using the navigator) with python 3.7 (in addition to the 3.8 in the base environment). I installed spyder in the new environment, but when launching it using the navigator, I get the spyder of the base environment (with python 3.8). The only way I found around this is to activate the new environment from the terminal and type "spyder" which launches the correct version. Any ideas why the navigator directs to the wrong spyder version?

Upvotes: 0

Views: 623

Answers (1)

Seyed_Ali_Mohtarami
Seyed_Ali_Mohtarami

Reputation: 1164

You can easily maintain separate environments for Python 3.7 programs and Python 3.8 programs on the same com:

conda create --name py3 python=3.7

or

conda create -n py37 python=3.7

Activate and use the Python 3 environment.in Linux:

conda activate py37

Upvotes: 1

Related Questions