[MacPorts] #65274: jupyter notebook fails to tart

MacPorts noreply at macports.org
Thu Jun 2 14:27:30 UTC 2022


#65274: jupyter notebook fails to tart
---------------------+-------------------------------
 Reporter:  dershow  |      Owner:  (none)
     Type:  defect   |     Status:  new
 Priority:  High     |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:  py39-jupyter_core
---------------------+-------------------------------
 I upgraded both:

 py39-jupyter_client from 7.1.2_0 to 7.3.1_0
 py39-jupyter_core from 4.7.1_0 to 4.10.0_0

 Now if I try to run Jupyter notebook it fails::


 {{{
  % jupyter-3.9 notebook
 Traceback (most recent call last):
   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin
 /jupyter-notebook", line 33, in <module>
     sys.exit(load_entry_point('notebook==6.3.0', 'console_scripts',
 'jupyter-notebook')())
   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin
 /jupyter-notebook", line 25, in importlib_load_entry_point
     return next(matches).load()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/importlib/metadata.py",
 line 86, in load
     module = import_module(match.group('module'))
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/importlib/__init__.py",
 line 127, in import_module
     return _bootstrap._gcd_import(name[level:], package, level)
   File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
   File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
   File "<frozen importlib._bootstrap>", line 986, in
 _find_and_load_unlocked
   File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
   File "<frozen importlib._bootstrap_external>", line 850, in exec_module
   File "<frozen importlib._bootstrap>", line 228, in
 _call_with_frames_removed
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/notebook/notebookapp.py", line 80, in <module>
     from .services.contents.manager import ContentsManager
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/notebook/services/contents/manager.py", line 17, in
 <module>
     from nbformat import sign, validate as validate_nb, ValidationError
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/nbformat/__init__.py", line 11, in <module>
     from . import v1, v2, v3, v4
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/nbformat/v4/__init__.py", line 39, in <module>
     from .convert import downgrade, upgrade
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/nbformat/v4/convert.py", line 13, in <module>
     from .. import validator
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/nbformat/validator.py", line 13, in <module>
     from .json_compat import ValidationError, _validator_for_name,
 get_current_validator
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/nbformat/json_compat.py", line 10, in <module>
     import fastjsonschema
 ModuleNotFoundError: No module named 'fastjsonschema'

 }}}

 I don't see a port for fastjsonschema so I'm not sure how to fix this.

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


More information about the macports-tickets mailing list