Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPython 9 breaks spyder #23911

Open
JohnRobson opened this issue Mar 9, 2025 · 0 comments
Open

IPython 9 breaks spyder #23911

JohnRobson opened this issue Mar 9, 2025 · 0 comments

Comments

@JohnRobson
Copy link

FYI, issue with the new IPython 9:

$ Traceback (most recent call last):
File "/usr/bin/spyder", line 8, in
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 "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 1026, in exec_module
File "", line 488, in _call_with_frames_removed
File "/usr/lib/python3.13/site-packages/spyder/plugins/debugger/plugin.py", line 35, in
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
from .debugging import DebuggingWidget
File "/usr/lib/python3.13/site-packages/spyder/plugins/ipythonconsole/widgets/debugging.py", line 20, in
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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant