Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_notebook_path doesn't work when running with VSCode #94

Closed
le-big-mac opened this issue Aug 23, 2023 · 2 comments · Fixed by #95
Closed

get_notebook_path doesn't work when running with VSCode #94

le-big-mac opened this issue Aug 23, 2023 · 2 comments · Fixed by #95

Comments

@le-big-mac
Copy link

I was attempting to run some Jupyter notebooks locally (testing Chatify for Neuromatch), and found that davos can't be imported if the notebooks are run in VSCode. The get_notebook_path function does not work with VSCode as the notebooks do not appear when running the command jupyter notebook list.

The error is: RuntimeError: Could not find notebook path for current kernel.

I appreciate this is probably not a pressing concern, but might be good to note, particularly to Neuromatch students.

@jeremymanning
Copy link
Member

thanks @le-big-mac --- we're on it! we were able to replicate this issue in VS Code and we're working on a plan for handling it.

@paxtonfitzpatrick
Copy link
Member

@le-big-mac thanks for the bug report! This has been fixed in #95. We have a few other fixes changes coming in the next release, so we're hoping to push that to PyPI by mid-next week. If you want to use Davos in VS Code in the mean time, you can install it directly from GitHub (!pip install git+https://github.com/ContextLab/davos.git).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants