robertradar
robertradar

Reputation: 65

Spyder launches the wrong Python Version

I've configured the following Anaconda environment:

conda create --name pix2pix python==3.5
...
activate pix2pix    
pip install spyder

If I start spyder in this environment by start spyder, it launches Python 3.7 and not 3.5. Moreover, the Anaconda Navigator says that Spyder is not installed in this environment. However, the Anaconda Prompt says it is when typing pip list.

What is going wrong here?

Upvotes: 1

Views: 1088

Answers (1)

robertradar
robertradar

Reputation: 65

Carlos Cordoba's comment solved my problem:

Your last line is wrong: pip install spyder. You don't need it because a) Spyder comes with Anaconda, so you really need to do conda install spyder (conda and pip are not interchangeable); and b) that line probably broke your Anaconda installation, so I'm afraid you'll have to reinstall and try again (that's a side effect of "conda and pip are not interchangeable").

Instead of pip install spyder, I used conda install spyder.

Upvotes: 1

Related Questions