vscodeJupyter icon indicating copy to clipboard operation
vscodeJupyter copied to clipboard

Just installed and had this erro

Open Alicture opened this issue 7 years ago • 10 comments

Environment data

VS Code version:1.21.1 Jupyter Extension version: OS and version:OSX 10.13.3

Logs

Output from Jupyter output panel

, ({"message": "Forbidden", "reason": null})
, ({"message": "Forbidden", "reason": null})
, ({"message": "Forbidden", "reason": null})

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

Actual behavior

Expected behavior

Steps to reproduce:

Alicture avatar Mar 21 '18 14:03 Alicture

and i got this now: , (Error: connect ECONNREFUSED 127.0.0.1:80 at Object.exports._errnoException (util.js:1050:11) at exports._exceptionWithHostPort (util.js:1073:20) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1097:14))

Alicture avatar Mar 21 '18 14:03 Alicture

Can confirm, same error.

LukasDJacobs avatar Mar 28 '18 08:03 LukasDJacobs

@Mornielome I have solved this problem by using python2.7

Alicture avatar Mar 28 '18 10:03 Alicture

Same problem, even tried to remove the hyphen in file name didnt work for me.

jamesnewsome avatar Apr 18 '18 04:04 jamesnewsome

I have the same problem. Does anyone have any idea to locate the root ?

PercyLau avatar May 13 '18 03:05 PercyLau

Same problem

openddd-com avatar May 14 '18 01:05 openddd-com

Yes I got this too as well, exact errors occuring. Before Yesteday, when I've installed Jupyter, the error apppeared but then somehow it got fixed and started working. Yesterday, I tried running jupyter again through vscode, and the error appeared , since then I've tried to fix every single potential problem I can think of, but non worked. please help if there is any solution to this issue.

Note: running jupyter and connecting to python kernel seems to work fine using the command prompt, the issue is only when it is started through the Vscode jupyter extension (using Run cell)

If additional information is needed, I will respond as soon as I can. thanks.

QuantumZain avatar Jun 22 '18 07:06 QuantumZain

I was able to remove the error, atleast for my case. Apparently the password that I set for Jupyter seems to cause the problem, so I removed it, checked Vscode and it worked. Though I don't think this is a Fix as I want to use a password instead of tokens. It is either a problem within the extension or that I did a mistake while seting it up..

Incase you want to remove your password:

  • go to Users\[UserName]\.jupyter\jupyter_notebook_config.json

  • Change password to password= ' '

  • save and done

Thanks alot for your support

QuantumZain avatar Jun 25 '18 20:06 QuantumZain

I have the same issue, Run cell using #%% does not work Run cell using select lines then right-click does not work

jasonwheritage avatar Sep 15 '18 00:09 jasonwheritage

I solve this problem by the steps bellow :

  1. run jupyter notebook --generate-config
(tensorflow) F:\DataSet\experiment>jupyter notebook --generate-config
Writing default config to: C:\Users\young\.jupyter\jupyter_notebook_config.py
  1. then , open the file showed above C:\Users\young\.jupyter\jupyter_notebook_config.py

  2. search c.NotebookApp.password and uncomment this line , then set c.NotebookApp.password = ''

  3. restart the vscode

youngdou avatar Oct 31 '18 03:10 youngdou