Spyder 5 (Standalone) – Does not Start

Question:

Pretty newbe in Python programming and completely with Spyder IDE, am I trying to install the software on windows 10 64 but I cannot start it.

It crashes at launch when the splashscreen shows "Loading toolbars"
I tried to start the software through the terminal using: python -m spyder.app.start

but I get the following errors:

Traceback (most recent call last):
  File "C:UsersanAnnoyingPersonAppDataLocalProgramsPythonPython37libsite-packagesspyderappmainwindow.py", line 2132, in create_window
    main.setup()
  File "C:UsersanAnnoyingPersonAppDataLocalProgramsPythonPython37libsite-packagesspyderappmainwindow.py", line 903, in setup
    plugin_instance = plugin_class(self, configuration=CONF)
  File "C:UsersanAnnoyingPersonAppDataLocalProgramsPythonPython37libsite-packagesspyderpluginspreferencesplugin.py", line 58, in __init__
    super().__init__(parent, configuration)
  File "C:UsersanAnnoyingPersonAppDataLocalProgramsPythonPython37libsite-packagesspyderapiplugins.py", line 838, in __init__
    container.setup()
  File "C:UsersanAnnoyingPersonAppDataLocalProgramsPythonPython37libsite-packagesspyderpluginspreferenceswidgetscontainer.py", line 107, in setup
    icon=self.create_icon('configure'),
  File "C:UsersanAnnoyingPersonAppDataLocalProgramsPythonPython37libsite-packagesspyderapiwidgetsmixins.py", line 587, in create_icon
    return ima.icon(name)
  File "C:UsersanAnnoyingPersonAppDataLocalProgramsPythonPython37libsite-packagesspyderutilsicon_manager.py", line 375, in icon
    directory=self._resource['directory'])
  File "C:UsersanAnnoyingPersonAppDataLocalProgramsPythonPython37libsite-packagesqtawesome__init__.py", line 201, in load_font
    return _instance().load_font(prefix, ttf_filename, charmap_filename, directory)
  File "C:UsersanAnnoyingPersonAppDataLocalProgramsPythonPython37libsite-packagesqtawesome__init__.py", line 76, in _instance
    ('mdi', 'materialdesignicons-webfont.ttf',
  File "C:UsersanAnnoyingPersonAppDataLocalProgramsPythonPython37libsite-packagesqtawesomeiconic_font.py", line 214, in __init__
    self.load_font(*fargs)
  File "C:UsersanAnnoyingPersonAppDataLocalProgramsPythonPython37libsite-packagesqtawesomeiconic_font.py", line 270, in load_font
    os.path.join(directory, ttf_filename)))
qtawesome.iconic_font.FontError: Font at 'C:UsersanAnnoyingPersonAppDataLocalProgramsPythonPython37libsite-packagesqtawesomefontsfontawesome4.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:UsersanAnnoyingPersonAppDataLocalProgramsPythonPython37librunpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:UsersanAnnoyingPersonAppDataLocalProgramsPythonPython37librunpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:UsersanAnnoyingPersonAppDataLocalProgramsPythonPython37libsite-packagesspyderappstart.py", line 244, in <module>
    main()
  File "C:UsersanAnnoyingPersonAppDataLocalProgramsPythonPython37libsite-packagesspyderappstart.py", line 226, in main
    mainwindow.main(options, args)
  File "C:UsersanAnnoyingPersonAppDataLocalProgramsPythonPython37libsite-packagesspyderappmainwindow.py", line 2282, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:UsersanAnnoyingPersonAppDataLocalProgramsPythonPython37libsite-packagesspyderappmainwindow.py", line 2134, in create_window
    if main.console is not None:
  File "C:UsersanAnnoyingPersonAppDataLocalProgramsPythonPython37libsite-packagesspyderappmainwindow.py", line 1156, in __getattr__
    return self.get_plugin(self._INTERNAL_PLUGINS_MAPPING[attr])
  File "C:UsersanAnnoyingPersonAppDataLocalProgramsPythonPython37libsite-packagesspyderappmainwindow.py", line 170, in get_plugin
    'Plugin "{}" not found!'.format(plugin_name))
spyder.api.exceptions.SpyderAPIError: Plugin "internal_console" not found!

I tried to reinstall Spyder, upgrade the linked plugins, do it admin, local, through pip, through the exe installer (again) tried also the spyder --reset function. it did not work.

I tried to solve the qtawesome issue too but:

Could someone help me to find a solution?

Thank you and have a great day.

Asked By: Tchoupidou

||

Answers:

Many thanks to Daniel Althviz. It was indeed the font which was blocking the Gui generation.

Using the icon_theme = spyder 2 in C:Users<your user>.spyder-py3config the problem was solved.

Answered By: Tchoupidou
Categories: questions Tags: , , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.