[MacPorts] #60677: py38-jupyter: error when launching jupyter notebook

MacPorts noreply at macports.org
Thu Jun 18 03:35:02 UTC 2020


#60677: py38-jupyter: error when launching jupyter notebook
------------------------------+--------------------------
 Reporter:  ogourgue          |      Owner:  (none)
     Type:  defect            |     Status:  new
 Priority:  Normal            |  Milestone:
Component:  ports             |    Version:  2.6.2
 Keywords:  jupyter notebook  |       Port:  py38-jupyter
------------------------------+--------------------------
 I got the following error when trying to launch jupyter notebook after
 installation of py38-jupyter
 {{{
 ~ % jupyter-notebook-3.8
 Traceback (most recent call last):
   File "/opt/local/bin/jupyter-notebook-3.8", line 6, in <module>
     from pkg_resources import load_entry_point
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
 /site-packages/pkg_resources/__init__.py", line 3262, in <module>
     def _initialize_master_working_set():
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
 /site-packages/pkg_resources/__init__.py", line 3245, in _call_aside
     f(*args, **kwargs)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
 /site-packages/pkg_resources/__init__.py", line 3274, in
 _initialize_master_working_set
     working_set = WorkingSet._build_master()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
 /site-packages/pkg_resources/__init__.py", line 584, in _build_master
     ws.require(__requires__)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
 /site-packages/pkg_resources/__init__.py", line 901, in require
     needed = self.resolve(parse_requirements(requirements))
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
 /site-packages/pkg_resources/__init__.py", line 787, in resolve
     raise DistributionNotFound(req, requirers)
 pkg_resources.DistributionNotFound: The 'packaging' distribution was not
 found and is required by bleach

 }}}

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


More information about the macports-tickets mailing list