Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In Python 3.10 on macOS M1 Pro, error when starting JupyterLab #84

Closed
JasonWeill opened this issue Apr 17, 2023 · 0 comments · Fixed by #127
Closed

In Python 3.10 on macOS M1 Pro, error when starting JupyterLab #84

JasonWeill opened this issue Apr 17, 2023 · 0 comments · Fixed by #127
Assignees
Labels
bug Something isn't working
Milestone

Comments

@JasonWeill
Copy link
Collaborator

Description

When using Python 3.10 on a Mac laptop on Apple Silicon (M1 Pro), I get the following error after regenerating my hatch env and trying to start JupyterLab:

2023-04-17 10:57:22,884	ERROR services.py:1195 -- Failed to start the dashboard: Failed to start the dashboard, return code 1
Failed to read dashboard log: [Errno 2] No such file or directory: '/tmp/ray/session_2023-04-17_10-57-21_738793_69190/logs/dashboard.log'
2023-04-17 10:57:22,884	ERROR services.py:1196 -- Failed to start the dashboard, return code 1
Failed to read dashboard log: [Errno 2] No such file or directory: '/tmp/ray/session_2023-04-17_10-57-21_738793_69190/logs/dashboard.log'
Traceback (most recent call last):
  File "/Users/jweill/Library/Application Support/hatch/env/virtual/jupyter-ai-monorepo/YuaVGges/jupyter-ai-monorepo/lib/python3.10/site-packages/ray/_private/services.py", line 1167, in start_api_server
    with open(dashboard_log, "rb") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/ray/session_2023-04-17_10-57-21_738793_69190/logs/dashboard.log'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/jweill/Library/Application Support/hatch/env/virtual/jupyter-ai-monorepo/YuaVGges/jupyter-ai-monorepo/lib/python3.10/site-packages/ray/_private/services.py", line 1178, in start_api_server
    raise Exception(err_msg + f"\nFailed to read dashboard log: {e}")
Exception: Failed to start the dashboard, return code 1
Failed to read dashboard log: [Errno 2] No such file or directory: '/tmp/ray/session_2023-04-17_10-57-21_738793_69190/logs/dashboard.log'
2023-04-17 10:57:23,226	INFO worker.py:1538 -- Started a local Ray instance.
[2023-04-17 10:57:23,411 E 69190 732428] core_worker.cc:179: Failed to register worker 01000000ffffffffffffffffffffffffffffffffffffffffffffffff to Raylet. IOError: [RayletClient] Unable to register worker with raylet. No such file or directory
@JasonWeill JasonWeill added the bug Something isn't working label Apr 17, 2023
@JasonWeill JasonWeill changed the title In Python 3.10 on macOS M1 Pro, error when starting Jupyter Lab In Python 3.10 on macOS M1 Pro, error when starting JupyterLab Apr 17, 2023
@JasonWeill JasonWeill added this to the 0.7.0 Release milestone Apr 21, 2023
@3coins 3coins self-assigned this Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants