I work on mac os 11.5!
I created a virtual environment with conda and activated it:
conda create -n myenv python=3.6
conda activate myenv
I tried to install jupyter notebook in this new environment:
conda install jupyter notebook
It went well! Now that I launch it, it tries to connect to kernel for 1 min, does not succeed and returns error!
The error I get (I just copy the last lines as Stackoverflow doesn't let me post too much code ):
Traceback (most recent call last):
.
.
.
File "~/opt/anaconda3/envs/myenv/lib/python3.6/site-packages/appnope/_nope.py", line 60, in beginActivityWithOptions
NSProcessInfo = C('NSProcessInfo')
File "~/opt/anaconda3/envs/myenv/lib/python3.6/site-packages/appnope/_nope.py", line 38, in C
assert ret is not None, "Couldn't find Class %s" % classname
AssertionError: Couldn't find Class NSProcessInfo
[W 16:03:16.833 NotebookApp] KernelRestarter: restart failed
[W 16:03:16.834 NotebookApp] Kernel 23590965-8381-42a0-ab03-f81495576942 died, removing from map.
[W 16:04:01.865 NotebookApp] Timeout waiting for kernel_info reply from 23590965-8381-42a0-ab03-f81495576942
[E 16:04:01.868 NotebookApp] Error opening stream: HTTP 404: Not Found (Kernel does not exist: 23590965-8381-42a0-ab03-f81495576942)
[W 16:04:02.892 NotebookApp] 404 GET /api/kernels/23590965-8381-42a0-ab03-f81495576942/channels?session_id=fef577101b6a43d781a438c90d50d561 (::1): Kernel does not exist: 23590965-8381-42a0-ab03-f81495576942
[W 16:04:02.905 NotebookApp] 404 GET /api/kernels/23590965-8381-42a0-ab03-f81495576942/channels?session_id=fef577101b6a43d781a438c90d50d561 (::1) 15.490000ms referer=None
[W 16:04:04.917 NotebookApp] Replacing stale connection: 23590965-8381-42a0-ab03-f81495576942:fef577101b6a43d781a438c90d50d561
[I 16:05:04.070 NotebookApp] Saving file at /Untitled.ipynb
^C[I 16:05:18.396 NotebookApp] interrupted
Serving notebooks from local directory: ~
0 active kernels
Jupyter Notebook 6.3.0 is running at:
http://localhost:8888/?token=e5f60b72b0219930db87cfda37664107b266da3fe505bc17
or http://127.0.0.1:8888/?token=e5f60b72b0219930db87cfda37664107b266da3fe505bc17