-
Notifications
You must be signed in to change notification settings - Fork 16
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
Nothing happens when clicking "Open as Jupyter Notebook" #9
Comments
this is happening to me recently too (macOS) |
actually right after commenting on this issue I realized that if I create a brand new blank file it's openable. |
Problem Emotional damage Temporary solution It is from the standard jupytext library and when ran it clones the .ipynb as a new interactive ("# %%" syntax) .py file. I commit the cloned .py files into source control and then convert them back into their .ipynb counterparts if pulling fresh from the repo. I put this at top of every .ipynb I want to convert into a .py and vice-versa. Run it each time you want to save.
|
Having the same issue. A workaround that works for me: If a file won't open, I perform "Open as Jupyter Notebook" on a different file. When I then try it again on the original file, that one opens correctly now, too. The bug makes this otherwise very useful extension cumbersome to use, hoping for a fix, too :-) |
Having similar issues, except not found a workaround even that works yet. Such a shame since when it was working it was awesome. |
@agftrading try this extension instead of the original one, it fixed the issue for me |
I'm sorry for the inconvenience caused & apologies for the radio silence. The reason this extension went stale is because of the hacks i implemented in this extension to ensure it worked well with the other Juptyer extnesion & VS Code (without using proposed API). however I have some good news, this will be fixed soon, by moving this functionality into https://github.com/microsoft/vscode-jupyter-powertoys That being said, please note the fact that this is purely experimental, the purpose & dev of power toys is outlined here https://github.com/microsoft/vscode-jupyter-powertoys
|
Will update this issue and this repo soon |
I can't believe this worked, but it did. Thanks for finding this hacky workaround! |
@DonJayamanne thanks for the super useful extension. Any updates on this issue? "Open as Jupyter Notebook" works the first time, but not after you close the notebook and try again. I get the same issue with congyiwu's version. I am using the official vscode (not insiders edition). Is it supported by powertoys now? |
For people on this thread, check out the fork congyiwu/vscode-jupytext! At least on my machine, works as expected! (Huge thanks to the fork author!) |
WTF ? You saved my day. TY ! |
I finally got this to work by installing the parmentelat/vscode-jupytext fork. It is published here: https://open-vsx.org/extension/parmentelat/vscode-jupytext Neither this extension and the congyiwu/vscode-jupytext fork worked for me, because they assume jupytext to be installed in the system-wide Python version. parmentelat/vscode-jupytext first tries the current project's Python interpreter. |
That extension doesn't seem to work for me either. |
@githubpsyche Try to see if you can find out why by inspecting the Output pane (menu View > Output) and selecting Jupyter in the drop-down on the right. |
I have been using this extension successfully on an ubuntu environment before, but now on my windows environment the extension doesn't work.
The option "Open as Jupyter Notebook" is available, but doesnt respond at all. No error message, just nothing.
I am currently working on insider-1.64.0
The text was updated successfully, but these errors were encountered: