You are not logged in.

#1 2025-03-10 13:54:59

RausH
Member
Registered: 2012-01-20
Posts: 14

[Solved] Spyder IDE doesn't start

Hello!

From time to time I do a little Python using Spyder. So I can't tell you when or at which update the issue was introduced, if at all.

$ pacman -Q spyder
spyder 6.0.4-1

Starting Spyder:

$ spyder
Traceback (most recent call last):
  File "/usr/bin/spyder", line 8, in <module>
    sys.exit(main())
             ~~~~^^
  File "/usr/lib/python3.13/site-packages/spyder/app/start.py", line 285, in main
    mainwindow.main(options, args)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/spyder/app/mainwindow.py", line 1419, in main
    mainwindow = create_window(MainWindow, app, splash, options, args)
  File "/usr/lib/python3.13/site-packages/spyder/app/utils.py", line 360, in create_window
    main.setup()
    ~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/spyder/app/mainwindow.py", line 677, in setup
    internal_plugins = find_internal_plugins()
  File "/usr/lib/python3.13/site-packages/spyder/app/find_plugins.py", line 45, in find_internal_plugins
    mod = importlib.import_module(entry_point.module)
  File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/usr/lib/python3.13/site-packages/spyder/plugins/debugger/plugin.py", line 35, in <module>
    from spyder.plugins.ipythonconsole.widgets.run_conf import IPythonConfigOptions
  File "/usr/lib/python3.13/site-packages/spyder/plugins/ipythonconsole/widgets/__init__.py", line 15, in <module>
    from .debugging import DebuggingWidget
  File "/usr/lib/python3.13/site-packages/spyder/plugins/ipythonconsole/widgets/debugging.py", line 20, in <module>
    from IPython.lib.lexers import (
        IPython3Lexer, Python3Lexer, bygroups, using
    )
ImportError: cannot import name 'Python3Lexer' from 'IPython.lib.lexers' (/usr/lib/python3.13/site-packages/IPython/lib/lexers.py)

On the updated system I tried to reinstall spyder as well as ipython. Both did not solve my problem. Spyder still refuses to start (see above).

May I ask for your opinion and how can I solve this? Thank you in advance.

best regards
RausH

Last edited by RausH (2025-03-10 15:31:45)

Offline

#2 2025-03-10 15:01:52

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,261

Re: [Solved] Spyder IDE doesn't start

It needs fixes to work with IPython 9 https://github.com/spyder-ide/spyder/co … 3a971664b8

Open an issue on the bug tracker

Offline

#3 2025-03-10 15:36:54

RausH
Member
Registered: 2012-01-20
Posts: 14

Re: [Solved] Spyder IDE doesn't start

Hi arojas!

Thank you very much for your reply. Downgrading of ipython to 8.33.0-1 solved this issue.

However I failed to report this bug because my old login for the bugtracker did not work anymore.

Best regards
RausH

Offline

Board footer

Powered by FluxBB