DonJayamanne / vscodeJupyter

Jupyter for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=donjayamanne.jupyter
MIT License
336 stars 34 forks source link

Unable to determine version of Jupyter, Error: spawn jupyter ENOENT Failed to detect Jupyter Notebook. Please use 'Select Jupyter Notebook' command , ({"message": "Forbidden", "reason": null}) #137

Closed huiguo2008 closed 6 years ago

huiguo2008 commented 6 years ago

Environment data

VS Code version: Version: 1.27.2 (user setup) Commit: f46c4c469d6e6d8c46f268d1553c5dc4b475840f Date: 2018-09-12T16:17:45.060Z Electron: 2.0.7 Chrome: 61.0.3163.100 Node.js: 8.9.3 V8: 6.1.534.41 Architecture: x64

Jupyter Extension version: v1.1.4

OS and version: win10, 64bit

Logs

Output from Jupyter output panel

   to login with a token:
        http://localhost:8888/?token=9fa1f0a424e2eece4fdc3823d2ee781e80f18db169050357&token=9fa1f0a424e2eece4fdc3823d2ee781e80f18db169050357
[I 16:17:58.301 NotebookApp] Accepting one-time-token-authenticated connection from ::1
[W 16:18:48.049 NotebookApp] Forbidden
[W 16:18:48.050 NotebookApp] 403 GET /api/kernelspecs?1538489928042 (127.0.0.1) 1.00ms referer=None

Output from Console window (Help->Developer Tools menu)

/C:/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:2407 Failed to detect Jupyter Notebook. Please use 'Select Jupyter Notebook' command
t.onDidNotificationChange @ /C:/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:2407
{"message": "Forbidden", "reason": null}
t.onDidNotificationChange @ /C:/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:2407

Actual behavior

run cell on test.py does not work, give the error above.

Expected behavior

run cell should work well. jupyter should started.

Steps to reproduce:

-

i am really confused about this problem. and the posts #34 , #72 do not work for me...

please help. thanks a lot..

huiguo2008 commented 6 years ago

Hi all, my problem is now solved. image Hope this can help the others who have the same problem.

Now I close this issue. Thanks.