[MacPorts] #68897: jupyter notebook is broken
MacPorts
noreply at macports.org
Thu Dec 14 09:05:07 UTC 2023
#68897: jupyter notebook is broken
------------------------+---------------------------
Reporter: dyne2meter | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: | Port: py311-jupyter
------------------------+---------------------------
This is what I get when I try to open a jupyter notebook as usual with
jupyter-notebook-3.11:
{{{
Traceback (most recent call last):
File "/opt/local/bin/jupyter-notebook-3.11", line 5, in <module>
from notebook.notebookapp import main
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
/site-packages/notebook/notebookapp.py", line 79, in <module>
from .services.contents.manager import ContentsManager
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
/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.11/lib/python3.11
/site-packages/nbformat/__init__.py", line 11, in <module>
from . import v1, v2, v3, v4
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
/site-packages/nbformat/v4/__init__.py", line 39, in <module>
from .convert import downgrade, upgrade
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
/site-packages/nbformat/v4/convert.py", line 13, in <module>
from .. import validator
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
/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.11/lib/python3.11
/site-packages/nbformat/json_compat.py", line 11, in <module>
import jsonschema
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
/site-packages/jsonschema/__init__.py", line 13, in <module>
from jsonschema._format import FormatChecker
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
/site-packages/jsonschema/_format.py", line 11, in <module>
from jsonschema.exceptions import FormatError
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
/site-packages/jsonschema/exceptions.py", line 16, in <module>
from referencing.exceptions import Unresolvable as _Unresolvable
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
/site-packages/referencing/__init__.py", line 4, in <module>
from referencing._core import Anchor, Registry, Resource,
Specification
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
/site-packages/referencing/_core.py", line 8, in <module>
from rpds import HashTrieMap, HashTrieSet, List
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
/site-packages/rpds/__init__.py", line 1, in <module>
from .rpds import *
ImportError:
dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
/site-packages/rpds/rpds.cpython-311-darwin.so, 2): no suitable image
found. Did find:
/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
/site-packages/rpds/rpds.cpython-311-darwin.so: mach-o, but wrong
architecture
/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
/site-packages/rpds/rpds.cpython-311-darwin.so: mach-o, but wrong
architecture
}}}
I'm betting this has something to do with one of the several minor updates
that have been installed in the past week such as py311-platformdirs.
Anyway, notebooks are broken on two systems I have updated lately, High
Sierra and Mojave.
--
Ticket URL: <https://trac.macports.org/ticket/68897>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list