Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#60677 closed defect (fixed)

py38-jupyter: error when launching jupyter notebook

Reported by: ogourgue (Olivier Gourgue) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc: stromnov (Andrey Stromnov)
Port: py-jupyter

Description

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

Change History (3)

comment:1 Changed 4 years ago by ogourgue (Olivier Gourgue)

solved by installing also py38-packaging

comment:2 Changed 4 years ago by stromnov (Andrey Stromnov)

Resolution: fixed
Status: newclosed

Fixed in #60678.

comment:3 Changed 4 years ago by mf2k (Frank Schima)

Keywords: jupyter notebook removed
Port: py-jupyter added; py38-jupyter removed
Note: See TracTickets for help on using tickets.