Closed mysteriousHerb closed 7 years ago
What version of Jupyter are you using?
Hi, Python 3.4.5 Jupyter 4.2.3 ipython 5.1.0
I uninstall my jupyter notebook and pip install again. It works. Do not know what was the problem in first time.
I still get this error even when uninstalling and re-installing Jupyter. My original post is here:
https://github.com/DonJayamanne/vscodeJupyter/issues/33#issuecomment-292750403
I met the same case. When I disabled the extension, vscodeJupyter, it worked...== Then, I enabled... error... Then, I disabled... it worked... How crazy~
PS: I used Anaconda 4.3, python 3.6
(Using VSCode with python and jupyter extensions and anaconda on Win10.)
In case it helps @gandhis1 or anyone else: I ran into this problem. For me, it was that I had set a password for my jupyter servers following this guide.
My generated configuration file was located in ~/.jupyter/jupyter_notebook_config.py and my password was set by the line in that file c.NotebookApp.password = u'sha1:(password hash)'
I commented out this line (you could also just delete the configuration file to use the default) and I can run the cells just fine now.
The "Error \<!DOCTYPE HTML>" in VSCode looks like it just means the extension got back something from jupyter that wasn't in the format it expected, so the password could be one of many things causing this issue. Most of these will probably be fixed by deleting the config file. Perhaps the extension could be updated to include a password option?
EDIT: Found an alternative solution if your issue was the password and you want to keep it. Add the following to User Settings in VSCode:
"jupyter.notebook.startupArgs": [
"--NotebookApp.password=''",
"--no-browser",
"--port=8888",
"--NotebookApp.allow_origin=\"*\""
]
This will make the jupyter extension in VScode run as if there was no password, but using jupyter outside of VSCode will continue to use the password in the config file.
I have a feeling this has something to do with path.
Environment data
VS Code version: Jupyter Extension version: OS and version: windows 10
Logs
Output from
Jupyter
output panelOutput from
Console window
(Help->Developer Tools menu)Actual behavior
Expected behavior
Steps to reproduce:
-