Skip to content
This repository has been archived by the owner on Nov 4, 2020. It is now read-only.

Just installed and had this erro #114

Open
Alicture opened this issue Mar 21, 2018 · 10 comments
Open

Just installed and had this erro #114

Alicture opened this issue Mar 21, 2018 · 10 comments

Comments

@Alicture
Copy link

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
Copy link
Author

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))

@LukasDJacobs
Copy link

Can confirm, same error.

@Alicture
Copy link
Author

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

@jamesnewsome
Copy link

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

@PercyLau
Copy link

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

@openddd-com
Copy link

Same problem

@QuantumZain
Copy link

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
Copy link

QuantumZain commented Jun 25, 2018

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

@jasonwheritage
Copy link

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

@youngdou
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants