Opened 9 months ago
Last modified 9 months ago
#69357 assigned defect
jupyter lab fails to launch — at Initial Version
Reported by: | agl2015 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.1 |
Keywords: | Cc: | ||
Port: | py311-jupyterlab |
Description
Under the latest version of macOS Sonoma (14.3.1) running on a late 2020 15" MacBook Pro, the command "jupyter lab" fails with the following error:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/bin/jupyter-lab", line 33, in <module>
sys.exit(load_entry_point('jupyterlab==3.0.13', 'console_scripts', 'jupyter-lab')())
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/bin/jupyter-lab", line 25, in importlib_load_entry_point
return next(matches).load()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/importlib/metadata/init.py", line 202, in load
module = import_module(match.group('module'))
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1126, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 1204, in _gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/jupyterlab/init.py", line 7, in <module>
from .labapp import LabApp
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/jupyterlab/labapp.py", line 15, in <module>
from jupyterlab_server import slugify, WORKSPACE_EXTENSION
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/jupyterlab_server/init.py", line 4, in <module>
from .app import LabServerApp
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/jupyterlab_server/app.py", line 7, in <module>
from jupyter_server.extension.application import ExtensionApp, ExtensionAppJinjaMixin
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/jupyter_server/extension/application.py", line 21, in <module>
from jupyter_server.serverapp import ServerApp
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/jupyter_server/serverapp.py", line 75, in <module>
from jupyter_server.services.contents.filemanager import AsyncFileContentsManager, FileContentsManager
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/jupyter_server/services/contents/filemanager.py", line 15, in <module>
from anyio import run_sync_in_worker_thread
ImportError: cannot import name 'run_sync_in_worker_thread' from 'anyio' (/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/anyio/init.py)