更新到Spyder 3.1.4后启动是不可能的

时间:2017-06-12 19:01:48

标签: python anaconda spyder codec

我在使用“conda -update spyder”将Anaconda分发到版本3.1.4后更新Spyder时出现问题。更新后,我无法启动Spyder。它会加载到“设置主窗口...”消息,然后崩溃。

在控制台中,我使用以下命令获得以下输出: spyder --show-console

Traceback (most recent call last):
File "D:\Programme\Anaconda\lib\site-packages\spyder\app\mainwindow.py", line 3011, in main
mainwindow = run_spyder(app, options, args)
File "D:\Programme\Anaconda\lib\site-packages\spyder\app\mainwindow.py", line 2913, in run_spyder
main.setup()
File "D:\Programme\Anaconda\lib\site-packages\spyder\app\mainwindow.py", line 1110, in setup
self.setup_layout(default=False)
File "D:\Programme\Anaconda\lib\site-packages\spyder\app\mainwindow.py", line 1385, in setup_layout
self.setup_default_layouts('default', settings)
File "D:\Programme\Anaconda\lib\site-packages\spyder\app\mainwindow.py", line 1564, in setup_default_layouts
widget.toggle_view(True)
File "D:\Programme\Anaconda\lib\site-packages\spyder\plugins\ipythonconsole.py", line 692, in toggle_view
self.create_new_client(give_focus=False)
File "D:\Programme\Anaconda\lib\site-packages\spyder\plugins\ipythonconsole.py", line 925, in create_new_client
self.connect_client_to_kernel(client)
File "D:\Programme\Anaconda\lib\site-packages\spyder\plugins\ipythonconsole.py", line 944, in connect_client_to_kernel
stderr_file)
File "D:\Programme\Anaconda\lib\site-packages\spyder\plugins\ipythonconsole.py", line 1342, in create_kernel_manager_and_kernel_client kernel_manager._kernel_spec = self.create_kernel_spec()
File "D:\Programme\Anaconda\lib\site-packages\spyder\plugins\ipythonconsole.py", line 1321, in create_kernel_spec
uv = to_text_string(v)
File "D:\Programme\Anaconda\lib\site-packages\spyder\py3compat.py", line 135, in to_text_string
return unicode(obj)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 28: ordinal not in range(128)

我重新安装了所有东西,即Anaconda以及Spyder。使用旧版本的Spyder,我从来没有遇到过任何问题......

感谢您的帮助!

1 个答案:

答案 0 :(得分:0)

Spyder开发人员)这是Spyder中的bug,它将在Spyder 3.2 中修复(将于2017年6月或7月发布) )。