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.

Failed to install python extension

See original GitHub issue

Testing #10911

Followed the steps provided then clicked install python extension and saw an error message Failed to install the python extension Logs

Visual Studio Code - Insiders (1.70.0-insider, undefined, desktop)
Jupyter Extension Version: 2022.7.1002101047.
Python Extension not installed.
Workspace folder /Users/meganrogge/Repos/vscode
info 8:29:16.522: ZMQ install verified.
User belongs to experiment group 'jupyterTestcf'
User belongs to experiment group 'jupyterEnhancedDataViewer'
info 8:29:17.408: LSP Notebooks experiment is disabled -- not using Pylance
info 8:29:17.513: Preferred Remote kernel for Untitled-1.ipynb is undefined
info 8:29:17.513: Find preferred kernel for Untitled-1.ipynb with metadata {"orig_nbformat":4} & preferred interpreter 
info 8:29:17.519: Preferred Remote kernel for Untitled-1.ipynb is undefined
info 8:29:17.519: Find preferred kernel for Untitled-1.ipynb with metadata {"orig_nbformat":4} & preferred interpreter 
info 8:29:17.524: Preferred Remote kernel for Untitled-1.ipynb is undefined
error 8:30:31.690: Failed to install Python Extension via Kernel Picker command
warn 8:30:31.695: DataScience Error [Error: Failed to install the Python Extension.
	at _.installPythonExtensionViaKernelPicker (/Users/meganrogge/.vscode-insiders/extensions/ms-toolsai.jupyter-2022.7.1002101047/out/extension.node.js:2:2368540)
	at async a._executeContributedCommand (/Users/meganrogge/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:85:63914)]

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
meganroggecommented, Jul 27, 2022

I had already installed the python extension but it was disabled

0reactions
IanMatthewHuffcommented, Nov 3, 2022

Timeout was previously added for this scenario, so closing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python and Pylance extension installation failed. #131232
Below steps are attemped: Download python extension from github release and install .vsix manually, same error message. (see log below) ...
Read more >
Unable to install python extension on code-server
I am install vscode using the below commands on ubuntu base image and trying to install python extension and it gets an error....
Read more >
Error while installing 'python' extension - Code with Mosh Forum
Yes, I'd like to install the python extension in VS Code, but I get an XHR failed message! JohnLu July 14, 2022, 9:18am ......
Read more >
Install Python support - Visual Studio (Windows)
To install Python support for Visual Studio (also known as Python Tools for Visual Studio or PTVS), follow the instructions in the section ......
Read more >
Python - Visual Studio Marketplace
However, Pylance is an optional dependency, meaning the Python extension will remain fully functional if it fails to be installed. You can also...
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