Skip to content

Instantly share code, notes, and snippets.

@jackyli-work
Last active September 26, 2025 07:57
Show Gist options
  • Select an option

  • Save jackyli-work/768eec8445795ee448bdb505f224bb11 to your computer and use it in GitHub Desktop.

Select an option

Save jackyli-work/768eec8445795ee448bdb505f224bb11 to your computer and use it in GitHub Desktop.
public info

to make the python script running in vscode.dev, you need to initiate a jupyter server and leave it running there.

accroding to this article the best way to begin would be miniconda installation and get the kernel things from there.

so comes the steps herein below:

winget install miniconda3 --accept-package-agreements --source winget

to start a jupyter server you'll need to install nb_conda_kernels under conda, which would lead to a bunch of errors if you didn't do the prerequsites.

solution

turns out you don't even have to use nb_conda_kernels package... the jupyter package on the main channel will do just fine! conda create -n jupyternotebook -c conda-forge jupyterlab nb_conda_kernels

conda create -n jupyternotebook jupyter
conda activate jupyternotebook
jupyter notebook --no-browser --ip=0.0.0.0 --port=8888 --ServerApp.allow_origin_pat='https://.*vscode-cdn\.net'

copy the token url and move to vscode.dev.

to enable the kernel selection you have to install the recommend extensions.(yeah. bummer. suck it up!)

then select the existing kernel and fill in the url link.

voila!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment