Ttys
Ttys

Reputation: 93

Python 2.7 with Spyder 3.0

I installed Spyder 3.0 and also python 2.7. I want to run python 2.7 codes with spyder 3.0 I tried to change python interpreter in spyder preferences. "Preferences->Python Interpreter-> Use the following Python interpreter". I chose Python 2.7 but it did not work. I also searched Python 2.7 executable file but I could not find it in the location usr/bin (ubuntu 18.04). How can deal with this problem?

Upvotes: 2

Views: 4653

Answers (1)

Rémi Baudoux
Rémi Baudoux

Reputation: 559

Spyder installation is specific to one version of Python.

1) install python 2.7

2) run python2.7 -m pip install spyder in cmd

3) you should find spyder in C:\Users\YOUR_NAME\AppData\Local\Programs\Python\Python27\Scripts\spyder.exe (for Windows at least)

4) You can make a shortcut of it

you should see the python version in the Spyder window title

Upvotes: 1

Related Questions