[MacPorts] #74010: spyder-313: crashes with a generic looking python error

MacPorts noreply at macports.org
Sat May 23 10:30:13 UTC 2026


#74010: spyder-313: crashes with a generic looking python error
-------------------------+------------------------
  Reporter:  examachine  |      Owner:  reneeotten
      Type:  defect      |     Status:  accepted
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  py-spyder   |
-------------------------+------------------------

Comment (by NeilBowles):

 Still seeing the same problem:
  sys.exit(main())
 Traceback (most recent call last):
   File "/opt/local/bin//spyder", line 8, in <module>
     sys.exit(main())
              ~~~~^^
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14
 /site-packages/spyder/app/start.py", line 284, in main
     mainwindow.main(options, args)
     ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14
 /site-packages/spyder/app/mainwindow.py", line 1390, in main
     mainwindow = create_window(MainWindow, app, splash, options, args)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14
 /site-packages/spyder/app/utils.py", line 360, in create_window
     main.setup()
     ~~~~~~~~~~^^
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14
 /site-packages/spyder/app/mainwindow.py", line 680, in setup
     internal_plugins = find_internal_plugins()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14
 /site-packages/spyder/app/find_plugins.py", line 45, in
 find_internal_plugins
     mod = importlib.import_module(entry_point.module)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/importlib/__init__.py",
 line 88, in import_module
     return _bootstrap._gcd_import(name[level:], package, level)
            ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "<frozen importlib._bootstrap>", line 1406, in _gcd_import
   File "<frozen importlib._bootstrap>", line 1371, in _find_and_load
   File "<frozen importlib._bootstrap>", line 1342, in
 _find_and_load_unlocked
   File "<frozen importlib._bootstrap>", line 938, in _load_unlocked
   File "<frozen importlib._bootstrap_external>", line 759, in exec_module
   File "<frozen importlib._bootstrap>", line 491, in
 _call_with_frames_removed
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14
 /site-packages/spyder/plugins/editor/plugin.py", line 28, in <module>
     from spyder.plugins.editor.widgets.main_widget import EditorMainWidget
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14
 /site-packages/spyder/plugins/editor/widgets/main_widget.py", line 52, in
 <module>
     from spyder.plugins.editor.widgets.codeeditor import (
     ...<5 lines>...
     )
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14
 /site-packages/spyder/plugins/editor/widgets/codeeditor/__init__.py", line
 17, in <module>
     from .codeeditor import (
     ...<5 lines>...
     )
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14
 /site-packages/spyder/plugins/editor/widgets/codeeditor/codeeditor.py",
 line 32, in <module>
     from nbconvert import PythonExporter as nbexporter
 ImportError: cannot import name 'PythonExporter' from 'nbconvert'
 (/opt/local/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14
 /site-packages/nbconvert/__init__.py)


 I also tried an uninstall of py-spyder after the py-nbconvert port update
 and then a "reclaim" to remove all the dependencies, followed by a
 reinstall of py-spyder, same error.  This is on an M4 MacBook Pro running
 Tahoe 26.5.  We are seeing the same error on a MacBook Pro M5.  Weird,

-- 
Ticket URL: <https://trac.macports.org/ticket/74010#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list