Spyder 5(独立版)- 无法启动

Spyder 5 (Standalone) - Does not Start

Python 编程新手,完全使用 Spyder IDE,我是否正在尝试在 windows 10 64 上安装软件,但我无法启动它。

当启动画面显示“正在加载工具栏”时,它在启动时崩溃 我尝试使用以下命令通过终端启动软件:python -m spyder.app.start

但我收到以下错误:

Traceback (most recent call last):
  File "C:\Users\anAnnoyingPerson\AppData\Local\Programs\Python\Python37\lib\site-packages\spyder\app\mainwindow.py", line 2132, in create_window
    main.setup()
  File "C:\Users\anAnnoyingPerson\AppData\Local\Programs\Python\Python37\lib\site-packages\spyder\app\mainwindow.py", line 903, in setup
    plugin_instance = plugin_class(self, configuration=CONF)
  File "C:\Users\anAnnoyingPerson\AppData\Local\Programs\Python\Python37\lib\site-packages\spyder\plugins\preferences\plugin.py", line 58, in __init__
    super().__init__(parent, configuration)
  File "C:\Users\anAnnoyingPerson\AppData\Local\Programs\Python\Python37\lib\site-packages\spyder\api\plugins.py", line 838, in __init__
    container.setup()
  File "C:\Users\anAnnoyingPerson\AppData\Local\Programs\Python\Python37\lib\site-packages\spyder\plugins\preferences\widgets\container.py", line 107, in setup
    icon=self.create_icon('configure'),
  File "C:\Users\anAnnoyingPerson\AppData\Local\Programs\Python\Python37\lib\site-packages\spyder\api\widgets\mixins.py", line 587, in create_icon
    return ima.icon(name)
  File "C:\Users\anAnnoyingPerson\AppData\Local\Programs\Python\Python37\lib\site-packages\spyder\utils\icon_manager.py", line 375, in icon
    directory=self._resource['directory'])
  File "C:\Users\anAnnoyingPerson\AppData\Local\Programs\Python\Python37\lib\site-packages\qtawesome\__init__.py", line 201, in load_font
    return _instance().load_font(prefix, ttf_filename, charmap_filename, directory)
  File "C:\Users\anAnnoyingPerson\AppData\Local\Programs\Python\Python37\lib\site-packages\qtawesome\__init__.py", line 76, in _instance
    ('mdi', 'materialdesignicons-webfont.ttf',
  File "C:\Users\anAnnoyingPerson\AppData\Local\Programs\Python\Python37\lib\site-packages\qtawesome\iconic_font.py", line 214, in __init__
    self.load_font(*fargs)
  File "C:\Users\anAnnoyingPerson\AppData\Local\Programs\Python\Python37\lib\site-packages\qtawesome\iconic_font.py", line 270, in load_font
    os.path.join(directory, ttf_filename)))
qtawesome.iconic_font.FontError: Font at 'C:\Users\anAnnoyingPerson\AppData\Local\Programs\Python\Python37\lib\site-packages\qtawesome\fonts\fontawesome4.7-webfont.ttf' appears to be empty. If you are on Windows 10, please read https://support.microsoft.com/en-us/kb/3053676 to know how to prevent Windows from blocking the fonts that come with QtAwesome.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\anAnnoyingPerson\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Users\anAnnoyingPerson\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\anAnnoyingPerson\AppData\Local\Programs\Python\Python37\lib\site-packages\spyder\app\start.py", line 244, in <module>
    main()
  File "C:\Users\anAnnoyingPerson\AppData\Local\Programs\Python\Python37\lib\site-packages\spyder\app\start.py", line 226, in main
    mainwindow.main(options, args)
  File "C:\Users\anAnnoyingPerson\AppData\Local\Programs\Python\Python37\lib\site-packages\spyder\app\mainwindow.py", line 2282, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\anAnnoyingPerson\AppData\Local\Programs\Python\Python37\lib\site-packages\spyder\app\mainwindow.py", line 2134, in create_window
    if main.console is not None:
  File "C:\Users\anAnnoyingPerson\AppData\Local\Programs\Python\Python37\lib\site-packages\spyder\app\mainwindow.py", line 1156, in __getattr__
    return self.get_plugin(self._INTERNAL_PLUGINS_MAPPING[attr])
  File "C:\Users\anAnnoyingPerson\AppData\Local\Programs\Python\Python37\lib\site-packages\spyder\app\mainwindow.py", line 170, in get_plugin
    'Plugin "{}" not found!'.format(plugin_name))
spyder.api.exceptions.SpyderAPIError: Plugin "internal_console" not found!

我尝试重新安装 Spyder,升级链接的插件,通过 pip 在本地进行管理,通过 exe 安装程序(再次)尝试了 spyder --reset 功能。它没有用。

我也尝试解决 qtawesome 问题但是:

有人可以帮我找到解决办法吗?

谢谢你,祝你今天愉快。

非常感谢 Daniel Althviz。确实是字体挡住了Gui一代

使用 C:\Users\<your user>\.spyder-py3\config 中的 icon_theme = spyder 2 问题已解决。