VS Code version: 1.27.2
Jupyter Extension version: 1.1.4
OS and version: Linux 4.18.9 (Arch)
Logs
Juptyer log: Unable to determine version of Jupyter,
Lots of stuff in the console, but none of it is related to Python or Jupyter.
Actual behavior
I select the "Jupyter: enter the url of local/remote Jupyter Notebook" command, enter the URL and then the token for the remote server, and then nothing happens.
Expected behavior
A list of kernels to choose from? (I'm not sure, I've never gotten it to work.)
Steps to reproduce:
On the server, I installed the latest miniconda (64-bit). Then I ran conda install -c conda-forge jupyter jupyter_kernel_gateway which installed, among other things, jupyter, notebook, and jupyter_kernel_gateway. Here are the versions which got installed:
$ /opt/miniconda3/bin/jupyter notebook --no-browser --port=8889 --NotebookApp.allow_origin="*" --ip=192.168.1.5
[I 22:29:51.959 NotebookApp] [nb_conda_kernels] enabled, 3 kernels found
[I 22:29:52.439 NotebookApp] JupyterLab extension loaded from /opt/miniconda3/lib/python3.6/site-packages/jupyterlab
[I 22:29:52.439 NotebookApp] JupyterLab application directory is /opt/miniconda3/share/jupyter/lab
[I 22:29:52.458 NotebookApp] Serving notebooks from local directory: /opt/miniconda3/share/jupyter
[I 22:29:52.458 NotebookApp] The Jupyter Notebook is running at:
[I 22:29:52.458 NotebookApp] http://192.168.1.5:8889/?token=9ed24b0c63a1cb2e065122e7f8e35b7214c0f7c24452c1a7
[I 22:29:52.458 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 22:29:52.459 NotebookApp]
Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
http://192.168.1.5:8889/?token=9ed24b0c63a1cb2e065122e7f8e35b7214c0f7c24452c1a7
/opt^C[I 22:31:17.119 NotebookApp] interrupted
Serving notebooks from local directory: /opt/miniconda3/share/jupyter
0 active kernels
The Jupyter Notebook is running at:
http://192.168.1.5:8889/?token=9ed24b0c63a1cb2e065122e7f8e35b7214c0f7c24452c1a7
Shutdown this notebook server (y/[n])? y
[C 22:31:18.368 NotebookApp] Shutdown confirmed
[I 22:31:18.369 NotebookApp] Shutting down 0 kernels
I'm entering http://192.168.1.5:8889 for the URL, and 9ed24b0c63a1cb2e065122e7f8e35b7214c0f7c24452c1a7 for the token. Note that when I browse to this URL, I am able to log in using the token.
I also tried the Jupyter Kernel Gateway, which is definitely how I would want to run this, but it didn't work either. I ran
Environment data
VS Code version: 1.27.2 Jupyter Extension version: 1.1.4 OS and version: Linux 4.18.9 (Arch)
Logs
Juptyer log:
Unable to determine version of Jupyter,
Lots of stuff in the console, but none of it is related to Python or Jupyter.
Actual behavior
I select the "Jupyter: enter the url of local/remote Jupyter Notebook" command, enter the URL and then the token for the remote server, and then nothing happens.
Expected behavior
A list of kernels to choose from? (I'm not sure, I've never gotten it to work.)
Steps to reproduce:
On the server, I installed the latest miniconda (64-bit). Then I ran
conda install -c conda-forge jupyter jupyter_kernel_gateway
which installed, among other things,jupyter
,notebook
, andjupyter_kernel_gateway
. Here are the versions which got installed:On the client, where I have VS Code, I also installed
jupyter
using conda. (Not sure if this was necessary, but I'll use it locally as well anyway.)Here are some outputs from the commands:
Now I run
I'm entering
http://192.168.1.5:8889
for the URL, and9ed24b0c63a1cb2e065122e7f8e35b7214c0f7c24452c1a7
for the token. Note that when I browse to this URL, I am able to log in using the token.I also tried the Jupyter Kernel Gateway, which is definitely how I would want to run this, but it didn't work either. I ran
but it doesn't present me with a token. In addition, when I browse to
http://192.168.1.5:8888/api/kernels
, it responds with an empty array[]
.