Spyder 2 in Ubuntu 18.04

馋奶兔 提交于 2020-12-13 03:20:20

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!