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

How to have nbopen working with Anaconda on Windows 10? #79

Open
VideoPac opened this issue Apr 9, 2022 · 4 comments
Open

How to have nbopen working with Anaconda on Windows 10? #79

VideoPac opened this issue Apr 9, 2022 · 4 comments

Comments

@VideoPac
Copy link

VideoPac commented Apr 9, 2022

Hello,
I used to open my Jupyter Notebooks with a double-click on .ipynb, but I made a fresh install and it's not working anymore.
When I double click on a .ipynb a Command Line window flashes and nothing happen.
I tried to add the path to \anaconda3 and to anaconda3\scripts (where nbopen.exe is located) to my system environnement variables but this doesn’t solve the problem…
How to have my .ipynb open with a double click?
Thank you

@takluyver
Copy link
Owner

The 'flash of command prompt' usually means the program has exited straight away, usually with an error message that you don't have time to see. You can sometimes see the error message by figuring out the command that the shortcut runs and entering that manually in a command prompt. Beyond that, I don't really know - I haven't used Windows regularly for quite a few years. 🙂

@VideoPac
Copy link
Author

OK thank you. I am still struggling with this, if anybody knows, please help

@KevoBernardo
Copy link

Try this:

Go to Regedit. Then go to:

\HKEY_CURRENT_USER\SOFTWARE\Classes\Jupyter.nbopen\shell\open\command

Change the default value to:

C:\ProgramData\Anaconda3\python.exe -m conda run -n base pythonw -m nbopen "%1"

The previous location might change, but basically is where you have python.exe. The next part should be the same

@KevoBernardo
Copy link

You can also check out this other issue, seems pretty similar #69

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

No branches or pull requests

3 participants