I am trying to run a jupyter notebook on my Windows machine by using WSL2 to run it in Ubuntu 20.04. It was working perfectly fine yesterday but today it's not selecting a Python Interpreter. I have tried reinstalling Ubuntu, Anaconda and Visual Studio Code.
When I run
code path_to_notebook.ipynb
It opens the window below:
After a couple seconds the box (that I've made a yellow square around) pops up. When I click in the "Select Python Interpreter" button and select the interpreter that I want ( ~/anaconda3/bin/python
) nothing happens.
The Select Python Interpreter (red box) also stays there.
What should I do?
I've gotten around the problem by using $ jupyter notebook --no-browser
in the terminal.
Unfortunately, this means that additional computer resources are required to run the notebook in my browser over a text editor. But it gets the job done.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.