问题
How can I install spyder 2 in Ubuntu 18.04?
When I type this in the terminal:
sudo apt-get install spyder
it installs spyder 3.
回答1:
Assuming you want spyder2
for Python 2.7:
You need to install spyder
for the Python version you want:
python -m pip install spyder
Then you just need to run it for that version. So:
python -m spyder
回答2:
You can use pip to install it like follows
sudo pip install -Iv spyder==2.3.9
-I
: reinstall (Ignore installed).v
: verbose.
https://pypi.org/project/spyder/
https://pypi.org/project/spyder/2.3.9/
来源:https://stackoverflow.com/questions/50787607/spyder-2-in-ubuntu-18-04