Spyder 3错误和UI加载不正确

2024-10-01 22:44:27 发布

您现在位置:Python中文网/ 问答频道 /正文

从Anaconda Navigator加载Spyder 3时遇到问题。一开始它给我一个错误,与Spyder 3图标集没有加载有关,它将恢复为Spyder 2。从那里它根本不会发射。通过使用“show console”从终端强制打开编辑器,但是图标集现在在顶部被切断,我无法访问任何下拉菜单: Missing Drop Downs

在不同的环境(包括根目录)中多次将Spyder重置为默认值,然后重新安装Anaconda后,我最终从Spyder内部控制台收到以下错误消息:

Spyder Internal Console

This console is used to report application internal errors and to inspect Spyder internals with the following commands: spy.app, spy.window, dir(spy)

Please don't use it to run your code

Traceback (most recent call last): File "C:\Users\Chapin23\AppData\Local\Continuum\anaconda3\envs\Python\lib\site-packages\traitlets\traitlets.py", line 528, in get value = obj._trait_values[self.name] KeyError: 'banner'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\Chapin23\AppData\Local\Continuum\anaconda3\envs\Python\lib\site-packages\qtconsole\base_frontend_mixin.py", line 163, in _dispatch handler(msg) File "C:\Users\Chapin23\AppData\Local\Continuum\anaconda3\envs\Python\lib\site-packages\qtconsole\jupyter_widget.py", line 296, in _handle_kernel_info_reply super(JupyterWidget, self)._started_channels() File "C:\Users\Chapin23\AppData\Local\Continuum\anaconda3\envs\Python\lib\site-packages\qtconsole\frontend_widget.py", line 615, in _started_channels self.reset(clear=True) File "C:\Users\Chapin23\AppData\Local\Continuum\anaconda3\envs\Python\lib\site-packages\qtconsole\frontend_widget.py", line 659, in reset self._append_plain_text(self.banner) File "C:\Users\Chapin23\AppData\Local\Continuum\anaconda3\envs\Python\lib\site-packages\traitlets\traitlets.py", line 556, in get return self.get(obj, cls) File "C:\Users\Chapin23\AppData\Local\Continuum\anaconda3\envs\Python\lib\site-packages\traitlets\traitlets.py", line 535, in get value = self._validate(obj, dynamic_default()) File "C:\Users\Chapin23\AppData\Local\Continuum\anaconda3\envs\Python\lib\site-packages\spyder\widgets\ipythonconsole\shell.py", line 250, in _banner_default return self.long_banner() File "C:\Users\Chapin23\AppData\Local\Continuum\anaconda3\envs\Python\lib\site-packages\spyder\widgets\ipythonconsole\shell.py", line 86, in long_banner from IPython.core.usage import quick_guide ImportError: cannot import name 'quick_guide'

有人见过这样的事吗?在


Tags: inpyselflibpackageslocallinesite

热门问题