Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/359.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/27.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 在ubuntu中打开spyder_Python_Linux_Shell_Ubuntu_Spyder - Fatal编程技术网

Python 在ubuntu中打开spyder

Python 在ubuntu中打开spyder,python,linux,shell,ubuntu,spyder,Python,Linux,Shell,Ubuntu,Spyder,我想在ubuntu中打开spyder(Python IDE) 通常我会在shell中写“spyder”,它会打开spyder IDE 现在,当我在shell中编写spyder时,它只是新行,什么也没发生(类似于按enter) ---我怎样才能找回我的spyder 编辑-我没有收到任何错误,它只是跳到下一行。我也有这个问题,并找到了。建议使用sudo-apt-get-purge-spyder删除任何错误的配置文件,然后使用sudo-apt-get-install-spyder重新安装。我发现它起作

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

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

现在,当我在shell中编写spyder时,它只是新行,什么也没发生(类似于按enter)

---我怎样才能找回我的spyder


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

我也有这个问题,并找到了。建议使用
sudo-apt-get-purge-spyder
删除任何错误的配置文件,然后使用
sudo-apt-get-install-spyder
重新安装。我发现它起作用了,spyder在文本编辑器上重新打开了我以前的文件

您可能只需更新spyder即可

如果您没有使用蟒蛇:

pip install --update spyder
conda update spyder
或者,如果您在蟒蛇中:

pip install --update spyder
conda update spyder
我遇到了与您相同的问题,命令行中还有一条消息说:

Spyder is already running. If you want to open a new 
instance, please pass to it the --new-instance option
上述更新允许我从命令行打开spyder。

如果键入“spyder”无效,您可能需要尝试键入“spyder3”,以防安装spyder3版本。下面是我在Ubuntu系统中的工作原理

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

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

 pip install PyQtWebEngine
最后,要打开Spyder窗口,我在终端中键入:

 spyder3

在Ubuntu中,只需转到您的

 cd home/<your account> 
我应该带你去那里

在终端中,在终端中键入
la
ls
不显示隐藏文件)并使用

rm -f spyder.lock

要删除basn控制台中的spyder,只需输入:

spyder .

在bash控制台中。

您没有发现关于找不到命令的错误吗?然后听起来像是spyder出现了问题,您应该从中查找日志文件,或者查看是否有“详细”或“不要背景”选项,可以让您了解更多正在发生的事情。没有错误,你建议如何在ubuntu中进行调试?查找我建议的标志,然后去查看
spyder
网站上是否有任何调试指南/建议和/或irc或类似的支持渠道。