question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Running cells requires loopback adapter for localhost

See original GitHub issue

Environment data

  • VS Code version: 1.29.1
  • Extension version (available under the Extensions sidebar): 2018.11.0
  • OS and version: windows 10
  • Python version (& distribution if applicable, e.g. Anaconda): miniconda python 3.7
  • Type of virtual environment used (N/A | venv | virtualenv | conda | …): base conda environment
  • Relevant/affected Python packages and their versions: jupyter notebooks

Expected behaviour

jupyter notebook is started

Actual behaviour

jupyter notebook didn’t start and “Running cells requires Jupyter notebooks to be installed.” notification appear even if jupyter notebook has been installed image

Steps to reproduce:

  1. write some code image
  2. click “run cell” image
  3. this notification appear image

Logs

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

image

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help)

image

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:28 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
rchiodocommented, Jun 12, 2019

@username30 Does the python you’re using have jupyter installed? It’s required for the interactive window to work.

You can verify this by starting a terminal window and typing ‘python -m jupyter notebook --version’

If that fails, you need to install jupyter. There’s a number of ways to get jupyter. Anaconda is probably the easiest.

If that doesn’t fail, then can you go to Help | Toggle Developer Tools, click on the Console tab, Right click and save the file, then upload it here? Something else might be going wrong.

1reaction
PushUpekcommented, Dec 15, 2018

I have similar issue, but with pipenv. Looks like jupyter cannot be activated from venv

VS Code version: 2018.12.1

screenshot 2018-12-15 08 36 38 screenshot 2018-12-15 08 39 12 screenshot 2018-12-15 08 40 11
Read more comments on GitHub >

github_iconTop Results From Across the Web

Running cells requires loopback adapter for localhost #3737
yes, i am sure the python i have selected on the bottom left of vscode has jupyter installed. image. This might also be...
Read more >
What is the purpose of the Microsoft Loopback Adapter?
A loopback adapter is required if you are installing on a non-networked computer to connect the computer to a network ...
Read more >
Configuring an application server, a node, or a cell to use a ...
If you want an entire cell to use a single network interface, perform the following steps for the deployment manager, node agent, and...
Read more >
127.0.0.1 IP resolution to 'localhost' problem - SAP Community
IPv4 is being used and NO loopback adapter is installed. Considering Hostname of local computer: ld8060 (NiMyHostName).
Read more >
What is 'localhost' on my WiFi network and why is it using so ...
Localhost is also known as the loopback interface. The name 'localhost' typically resolves to IP address 127.0.0.1, data addressed as such is not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found