在ubuntu中打开spyder

问题描述 投票:5回答:3

我想在ubuntu中打开spyder(Python IDE)。

通常我会在shell中写“spyder”,它会打开spyder IDE。

现在当我在shell中编写spyder时,它只是新行,没有任何反应(类似于按'enter')。

---我如何让我的spyder回来?

编辑 - 我没有错误,它只是跳到下一行。

python linux shell ubuntu spyder
3个回答
5
投票

如果键入“spyder”不起作用,您可能想尝试键入“spyder3”以防安装spyder3版本。以下是我在Ubuntu系统中的作用。

要通过pip安装spyder(我的python版本是3.6.2),我用过:

 pip install spyder

然后,我不得不安装另一个包:

 pip install PyQtWebEngine

最后,要打开Spyder窗口,我输入了我的终端:

 spyder3

2
投票

你可能只需要更新spyder。

如果你不使用anaconda:

pip install --update spyder

或者,如果你在anaconda:

conda update spyder

我和你的问题一样,在命令行中也有一条消息说:

Spyder is already running. If you want to open a new 
instance, please pass to it the --new-instance option

上面的更新允许我从命令行打开spyder。


1
投票

我也有这个问题,并找到了this post on it in an askubuntu forum。它建议使用sudo apt-get purge spyder删除任何错误的配置文件,然后使用sudo apt-get install spyder重新安装。我发现它有效,并且spyder在文本编辑器中重新打开了我以前的文件。

© www.soinside.com 2019 - 2024. All rights reserved.