pathbird / poetry-kernel

Python Jupyter kernel using Poetry for reproducible notebooks
MIT License
246 stars 7 forks source link

Using Poetry kernel on a remote JupyterHub server in VS Code #12

Open digi-daniel opened 1 year ago

digi-daniel commented 1 year ago

Jo, i have a Jupyter notebook open in VS Code, and I'd like to choose as its kernel the Poetry kernel running on a remote JupyterHub server. I'm not sure if that's possible at all, and so far i keep getting the following error message:

Failed to start the Kernel. Kernel Poetry is not usable.

My understanding is that the Poetry kernel runs the Jupyter kernel from within the Poetry project, right? But the Poetry project is on my local machine, because i executed poetry install locally. The Poetry kernel, on the other hand, lives in the remote JupyterHub server environment. Is there a way to makes this work? Do i have to run poetry install inside JupyterHub, and somehow tell the Poetry kernel that it shall look there for the Jupyter kernel it shall run, and not on my local machine? Sorry if i mess up the terminology, but i hope what i want to do is more or less comprehensible. Cheers.