Could not start Jupyter interactive window in VS-code #16042
Unanswered
Fclef
asked this question in
Questions and Answers
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm connecting to a remote server using a tunnel. I can successfully use remote explorer in VScode to connect to this server. The problem is when I try to run any code in jupyter interactive window, it shows
Jupyter Server crashed. Unable to connect. Error code from Jupyter: 1 Error executing Jupyter command 'notebook': [Errno 2] No such file or directory. View Jupyter [log](command:jupyter.viewOutput) for further details.
After checking Jupyter output I noticed the potential problem is
14:50:07.151 [info] Starting Kernel (Python Path: ~/timothy/env/img2img/bin/python, Venv, 3.10.9) for '/Interactive-1.interactive' (disableUI=false) 14:50:07.155 [info] Starting Jupyter Server 14:50:07.165 [info] Process Execution: ~/timothy/env/py_torch/bin/python -m jupyter notebook --no-browser --notebook-dir="/ihome/~/timothy/project" --config=/tmp/7fa5d880-3fcf-4b8d-b23c-229c5f09ffa9/jupyter_notebook_config.py --NotebookApp.iopub_data_rate_limit=10000000000.0 14:50:07.350 [error] Failed to start the Jupyter Server Error: Jupyter Server crashed. Unable to connect.
where the
--notebook-dir="/ihome/~/timothy/project"
could handle the path correctly.I feel it supposes to be a simple problem but I could not figure out a solution. Can anyone help with it? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions