I have a jupyter notebook server with multiple kernels. every time I try to start a new notebook with my deepdow2 kernel it hangs for a long time and ultimately the connection fails with:
"A connection to the notebook server could not be established. The notebook will continue trying to reconnect. Check your network connection or notebook server configuration."
I created the deepdow2 virtual env with the commands below:
conda create -n deepdow2 python=3.5source activate deepdow2conda install -c Quantopian ziplineconda install pytorch torchvision cudatoolkit=10.2 -c pytorchpip install deepdowconda install -c anaconda ipykernel
when the notebook fails to connect with the deepdow2 kernel, the terminal shows the errors below.
error:
File "/home/username/anaconda3/envs/deepdow2/lib/python3.5/site-packages/parso/__init__.py", line 41, in <module>
from parso.parser import ParserSyntaxError
File "/home/username/anaconda3/envs/deepdow2/lib/python3.5/site-packages/parso/parser.py", line 113
node_map: Dict[str, type] = {}
^
SyntaxError: invalid syntax
[W 04:37:48.190 NotebookApp] KernelRestarter: restart failed
[W 04:37:48.191 NotebookApp] Kernel 1240f39b-c74e-4246-a8de-16b6560782cb died, removing from map.
[W 04:37:54.213 NotebookApp] Replacing stale connection: 1240f39b-c74e-4246-a8de-16b6560782cb:07b0ca22e4564a7b8f7839595b3b0a6d
[W 04:38:16.241 NotebookApp] Replacing stale connection: 1240f39b-c74e-4246-a8de-16b6560782cb:07b0ca22e4564a7b8f7839595b3b0a6d
does anyone know what the issue might be and can you suggest how to fix it?
