[MacPorts] #69419: py310-notebook will not start
MacPorts
noreply at macports.org
Thu Feb 29 10:06:36 UTC 2024
#69419: py310-notebook will not start
-----------------------------+---------------------
Reporter: dershow | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: jupyter
Port: py310-notebook |
-----------------------------+---------------------
Comment (by albcn):
This bug has been here for several weeks.
To me, editing (for 3.11, modify your version).
{{{
/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
/site-packages/notebook/traittypes.py
}}}
And manually changing
{{{
from traitlets import ClassBasedTraitType, Undefined, warn
}}}
to
{{{
from warnings import warn
from traitlets import ClassBasedTraitType, Undefined
}}}
makes it work. This looks better to me than installing the package via
pip.
{{{
pip uninstall traitlets
pip install traitlets==5.9.0
}}}
as mentioned in other reports.
This is related to
[https://github.com/SlackBuildsOrg/slackbuilds/pull/4227/commits/a9e3da223116adb32dc98f78f1ae3cb8dc61f96c]
--
Ticket URL: <https://trac.macports.org/ticket/69419#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list