samghelms / vscode-datascience-extensions

Extensions and tools for data scientists who use vscode
7 stars 1 forks source link

Usage instructions #1

Open erolosty opened 5 years ago

erolosty commented 5 years ago

Hey, this looks like an absolutely amazing plugin. Super keen to get started

In the ctrl+shift+p -> Connect to Jupyter Server box I'm entering something of the format:

http://{host}:8888/user/{user}/?token={token}

This url works for starting remote kernels. I'm not too sure if it's the right url to configure this plugin, I get a "Cannot Connect"

brunocous commented 4 years ago

I get the exact same error. This plugin is also exactly what I needed.

How can we help to fix to problem? @samghelms

shelms-2 commented 4 years ago

Check out the built in extension: https://code.visualstudio.com/docs/python/jupyter-support would this work?

brunocous commented 4 years ago

Thank you for your reply.

The built-in extension works great indeed, but not for my usecase. I would like to call other Python modules defined in my project from a notebook, which executes cell remotely. For this I need to sync local code with a remote Jupyter notebook server.

The standard way of achieving this is through rsync over SSH. However this default requires managing a SSH connection and SSH keys (which large entreprises servers not necessarily allow). There are workarounds (manually uploading files through the notebook UI, and using git), but these inhibit development and iteration speed.

Your https://github.com/samghelms/vscode-datascience-extensions/tree/master/packages/jupyter-fsprovider plugin seemed to be able to do this, but I couldn't get it to work ("cannot connect").