如何重置 Spyder IDE (Python 2.7) 图形用户界面?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/30034114/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-19 07:52:24  来源:igfitidea点击:

How to reset Spyder IDE (Python 2.7) graphic user interface?

pythonuser-interfaceanacondaspyder

提问by Okay Lolz

I am trying to reset the interface I have tried to misaligned. Misaligned Spyder interface

我正在尝试重置我尝试未对齐的界面。 未对齐的 Spyder 界面

I couldn't find it in settings. I have also tried uninstalling and reinstalling it. No luck.

我在设置里没找到。我也试过卸载并重新安装它。没运气。

Can you help me to reset it?

你能帮我重置一下吗?

Thanks.

谢谢。

回答by Okay Lolz

For anyone, who has problem restoring the defaults settings, Open Terminal and type:

对于在恢复默认设置时遇到问题的任何人,打开终端并输入:

rm -r ~/.spyder

回答by goanpeca

(Spyder-dev here)

(这里是 Spyder-dev)

We will include a way to reset spyder configuration from within the user interface in the upcoming version (3.0.0).

我们将在即将推出的版本 (3.0.0) 中包含一种从用户界面中重置 spyder 配置的方法。



In the meantime you can reset by opening a terminal window (cmd in windows.. shell in Mac/Linux) and typing

同时,您可以通过打开终端窗口(Windows 中的 cmd .. Mac/Linux 中的 shell)并键入

spyder --reset

spyder --reset

If that still does not work you can erase the folder .spyderin your user folder

如果仍然不起作用,您可以删除.spyder用户文件夹中的文件夹

Windows X:\Users\username\.spyder2\(or X:\Users\username\.spyder\)

窗户 X:\Users\username\.spyder2\(或X:\Users\username\.spyder\

Linux \home\username\.spyder2\(or \home\username\.spyder\)

Linux \home\username\.spyder2\(或\home\username\.spyder\

回答by Sam

I am using Spyder 2.3.9. I was able to reset the windows using View->Reset Window Layout.

我正在使用 Spyder 2.3.9。我能够使用 View->Reset Window Layout 重置窗口。

The original post could be on older version, where this option did not exist!

原始帖子可能是旧版本,此选项不存在!

回答by Akhil MK

I'm using Spyder 3.1.2

我正在使用Spyder 3.1.2

Just go to ViewWindow LayoutsReset to Spyder default.

只需转到ViewWindow LayoutsReset to Spyder default

回答by Faysal

Tools >> Reset Spyder to Factory Defaults. Tested on Spyder 3.1.4

工具 >> 将 Spyder 重置为出厂默认设置。在 Spyder 3.1.4 上测试

回答by meleke

I found a way arround this problem( works for me ) I had the issue that there were 2 seperated windows(I tried to reset the view but it didnt work) and I couldn′t move one of them. My way arround it was to drag the non movable window a bit bigger(I tried to change its size) then that window became movable for me and I could drag it into the other to get the default view again. Maybe it works for somebody aswell, just wanted to share. (3.2.4)

我找到了解决这个问题的方法(对我有用)我遇到了有 2 个独立窗口的问题(我尝试重置视图但它没有用)并且我无法移动其中一个。我的方法是将不可移动的窗口拖大一点(我试图改变它的大小)然后那个窗口对我来说是可移动的,我可以将它拖到另一个窗口以再次获得默认视图。也许它也适用于某些人,只是想分享。(3.2.4)

回答by Thiago Nunes

You only need update your Spyder version using this command on Anaconda Prompt

您只需要在 Anaconda Prompt 上使用此命令更新您的 Spyder 版本

pip install -U spyder

It's has fixed on my IDE.

它已固定在我的 IDE 上。

If you can't fix delete your Spyder folder (.spyder-py3) in your directory like : C:\Users*Your-User*

如果您无法修复,请删除您目录中的 Spyder 文件夹 (.spyder-py3),例如:C:\Users*Your-User*

回答by Ajay yadav

Do following steps View->Reset Window Layout. Also do not forget to restart the application.It was not worked for me without restart. I hope it should work for you.

执行以下步骤 View->Reset Window Layout。 也不要忘记重新启动应用程序。如果没有重新启动,它对我不起作用。我希望它对你有用。

If still this not work you can do Tools->Reset Spyder for factory default.

如果这仍然不起作用,您可以执行 Tools->Reset Spyder 为出厂默认设置。

回答by Carlo Carandang

I'm using Anaconda Navigator and Spyder 3.3.2. Open Anaconda Prompt, then type:

我正在使用 Anaconda Navigator 和 Spyder 3.3.2。打开 Anaconda Prompt,然后输入:

spyder --reset

To open Anaconda Prompt in Windows: Click Start, search or select Anaconda Prompt from the menu.

在 Windows 中打开 Anaconda Prompt: 单击开始,搜索或从菜单中选择 Anaconda Prompt。