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.

Could not install ipykernel in devcontainer

See original GitHub issue

Testing #7680

  1. On MacOS
  2. Open the jupyter-datascience-notebooks dev container from https://github.com/Microsoft/vscode-dev-containers
  3. Follow instructions in test plan item up to running the cell
  4. Click prompt to install ipykernel

Bug I get a error notification :

Could not install ipykernel. If pip is not available, please use the package manager of your choice to manually install this library into your Python environment.

Potentially relevant other logs from dev tools:

Screen Shot 2021-09-28 at 4 16 08 PM

I was using the following kernel:

Screen Shot 2021-09-28 at 4 17 24 PM

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
mjbvzcommented, Sep 28, 2021

Ah yes that was the issue! After opening the parent folder, I could select the kernel and then install worked properly

0reactions
DonJayamannecommented, Sep 28, 2021

I’m going to open another issue to make us install pip. Seems weird that we can’t just install it.

We’re waiting on telemetry for this, Brett didn’t want to install Pip as he didn’t believe it was the right solution when I submitted a PR to do that in the Python extension.

@rchiodo /cc

Read more comments on GitHub >

github_iconTop Results From Across the Web

python - I get an error while installing ipykernel on vscode
You can use the shortcut key Ctrl+Shift+ to open a new VScode terminal, it will automatically enter the currently selected VSCode environment.
Read more >
Working with Jupyter Notebooks in Visual Studio Code
If you attempt to open a notebook when VS Code is in an untrusted workspace running Restricted Mode, you will not be able...
Read more >
Advanced Visual Studio Code for Python Developers
In this tutorial, you'll learn how you can configure, extend, and optimize Visual Studio Code for a more effective and productive Python development ......
Read more >
Jupyter Notebooks + VSCode Dev Container ... - KeesTalksTech
It would not be the first time that someone "bricked" their Python ... Intro; Default Python Dev Container Setup; Install IPython & Pandas ......
Read more >
Run Jupyter Notebooks with Python Virtual Environments
You can also use conda if you prefer. A) Ensure you have venv installed. If not, run the following command: sudo apt install...
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