[MacPorts] #69419: py310-notebook will not start

MacPorts noreply at macports.org
Thu Feb 29 04:13:57 UTC 2024


#69419: py310-notebook will not start
---------------------+----------------------------
 Reporter:  dershow  |      Owner:  (none)
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:  jupyter  |       Port:  py310-notebook
---------------------+----------------------------
 The recent upgrade to some part of jupyter have broken py310-notebook (and
 311 and 312)


 {{{
 % jupyter-notebook-3.10
 Traceback (most recent call last):
   File "/opt/local/bin/jupyter-notebook-3.10", line 33, in <module>
     sys.exit(load_entry_point('notebook==6.4.11', 'console_scripts',
 'jupyter-notebook')())
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/jupyter_core/application.py", line 283, in launch_instance
     super().launch_instance(argv=argv, **kwargs)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/traitlets/config/application.py", line 1042, in
 launch_instance
     app.initialize(argv)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/traitlets/config/application.py", line 113, in inner
     return method(app, *args, **kwargs)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/notebook/notebookapp.py", line 2149, in initialize
     self.init_webapp()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/notebook/notebookapp.py", line 1757, in init_webapp
     self.web_app = NotebookWebApplication(
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/notebook/notebookapp.py", line 177, in __init__
     settings = self.init_settings(
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/notebook/notebookapp.py", line 300, in init_settings
     nbextensions_path=jupyter_app.nbextensions_path,
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/notebook/notebookapp.py", line 1327, in nbextensions_path
     from IPython.paths import get_ipython_dir
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/IPython/__init__.py", line 55, in <module>
     from .terminal.embed import embed
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/IPython/terminal/embed.py", line 15, in <module>
     from IPython.core.interactiveshell import DummyMod, InteractiveShell
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/IPython/core/interactiveshell.py", line 326, in <module>
     class InteractiveShell(SingletonConfigurable):
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/IPython/core/interactiveshell.py", line 331, in
 InteractiveShell
     ast_transformers: List[ast.NodeTransformer] = List(
 TypeError: 'type' object is not subscriptable
 }}}


 There are a few other open jupyter ticket that might be related?

 [https://trac.macports.org/ticket/69244]
 [[https://trac.macports.org/ticket/69415] ]
 [https://trac.macports.org/ticket/69416]
 [https://trac.macports.org/ticket/69357]

 Any help getting notebook to run would be appreciated.

-- 
Ticket URL: <https://trac.macports.org/ticket/69419>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list