Please update the python extension to the latest version

or install the pre-release version directly. ( may be more useful to you )

this will basically solve your problem.

If the error continues, follow these steps:

  1. Uninstall Python extension (if you have pylance uninstall it first). Uninstall any other extension that is failing.
  2. Close all instances of VS Code.
  3. Go to, %USERPROFILE%/.vscode/extensions (on windows) or ~/.vscode/extensions on Linux/Mac.
  4. Delete any folder with the name starting with ms-python.python*
  5. Start VS Code, and install Python extension (also pylance if you uninstalled it in step 1).
Answer from JialeDu on Stack Overflow
🌐
GitHub
github.com › microsoft › vscode-python › issues › 16026
"Python extension loading..." message lasts forever · Issue #16026 · microsoft/vscode-python
April 23, 2021 - I searched for this error and it was solved with newer version of the Python extension. Though, I have the newest versions installed and still have this problem. Environment data VS Code version: 1.55.2 Extension version (available under...
Author   brkbrc
Discussions

Gets stuck at "Python extension loading" then extension host crashes when `telemetry.enableTelemetry` is set to `false`
There's a few other mentions of this but no fixes so far. Environment data VS Code version: Noticed after upgrade to 1.52, kept happening after downgrade to 1.51. Extension version (available u... More on github.com
🌐 github.com
74
December 15, 2020
"Python extension loading..." message last forever
The "Python extension loading..." message at the bottom should disappear and the extension should be usable · The message last forever and the extension isn't usable · Install the Python extension NB : Also happens when launch as an administrator; after re-installing extension/vscode More on github.com
🌐 github.com
19
January 12, 2019
Unable to install python extension from visual studio code
I'm trying to add the python extension from the visual studio code, at the bottom right it says "Error while installing 'Python' extension. Please check the log for more details" - under it says "try to download manually" which sends… More on learn.microsoft.com
🌐 learn.microsoft.com
4
5
January 25, 2023
Python Extension loading issues

Please have a look at this issue: Python extension loads very slowly: unresponsive. Try insiders version of the extension, and see if it helps with this issue. You can always download and install latest insiders build form here https://pvsc.blob.core.windows.net/extension-builds/ms-python-insiders.vsix .

More on reddit.com
🌐 r/vscode
1
3
April 22, 2021
🌐
Reddit
reddit.com › r/vscode › python extension loading... forever
r/vscode on Reddit: Python extension loading... forever
September 16, 2021 -

FIX: I fixed it! turns out i didn't completely remove vscode from my pc, so i deleted the config and cache folders and reinstalled vscode and it works perfectly now! still curious as to what the hell caused it...

at the bottom left of vscode it keeps saying "Python extension loading" and it never finishes, i tried reinstalling all the extensions, updating vscode, rebooting the system, and disabling the other extensions one by one, but to no avail.

it was working fine before, any help would be appreciated!

EDIT: im using linux (kubuntu 20.04) and i can't do anything python related (run scripts, formatters not working...etc)

🌐
Visual Studio Code
code.visualstudio.com › docs › languages › python
Python in Visual Studio Code
November 3, 2021 - Windows Subsystem for Linux: If you are on Windows, WSL is a great way to do Python development. You can run Linux distributions on Windows and Python is often already installed. When coupled with the WSL extension, you get full VS Code editing and debugging support while running in the context of WSL.
🌐
Arch Linux Forums
bbs.archlinux.org › viewtopic.php
[SOLVED] VS Code, after upgrading: Python extension fails to load...? / Applications & Desktop Environments / Arch Linux Forums
UPDATE: I found https://github.com/microsoft/vscode-python/issues/15445 and now understand that I should use the CONSOLE-stuff from Help > Toggle Developer Tools. This reveals: *** Extension activation failed, run the 'Developer: Toggle Developer Tools' command for more information.
🌐
GitHub
github.com › microsoft › vscode-python › issues › 14977
Gets stuck at "Python extension loading" then extension host crashes when `telemetry.enableTelemetry` is set to `false` · Issue #14977 · microsoft/vscode-python
December 15, 2020 - Value of the python.languageServer setting: Pylance · Message disappears and extension eventually loads. Message doesn't disappear, extension doesn't load, "Extension host terminated unexpectedly" message appears. Start VSCode · Select a python file to trigger the extension loading.
Author   GSGBen
🌐
GitHub
github.com › microsoft › vscode-python › issues › 3967
"Python extension loading..." message last forever · Issue #3967 · microsoft/vscode-python
January 12, 2019 - The "Python extension loading..." message at the bottom should disappear and the extension should be usable · The message last forever and the extension isn't usable · Install the Python extension NB : Also happens when launch as an administrator; after re-installing extension/vscode
Author   PROFeNoM
Find elsewhere
🌐
GitHub
github.com › microsoft › vscode-python › issues › 20476
Python extension loading... · Issue #20476 · microsoft/vscode-python
January 5, 2023 - Type: Bug Upgraded to last version today and have multiple notifications related to Python. The "Python extension loading..." never ends Extension version: 2022.20.1 VS Code version: Code - Insiders 1.75.0-insider (79c4f9b, 2023-01-05T05...
Author   stenaksel
🌐
GitHub
github.com › microsoft › vscode-python › issues › 10991
Stuck at Python extension loading... · Issue #10991 · microsoft/vscode-python
April 6, 2020 - Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python) ... Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging) configurationModels.ts:314 Conflict in settings file vscode-userdata:/home/robert/.config/Code/User/settings.json: Ignoring python.diagnostics.sourceMapsEnabled as python is "python3" (anonymous) @ configurationModels.ts:314 configurationModels.ts:314 Conflict in settings file vscode-userdata:/home/robert/.config/Code/User: Ignoring python.diagnostics.sourceMapsEnabled as python is "python3" (anonymous) @ configurationModels.ts:314 notificationsAlerts.ts:40 Extension activation failed, run the 'Developer: Toggle Developer Tools' command for more information.
Author   robertknox
🌐
GitHub
github.com › microsoft › vscode-python › issues › 6687
"Python extension loading..." · Issue #6687 · microsoft/vscode-python
July 24, 2019 - Than restart VS Code & extension is not properly loaded. Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
Author   tburd
🌐
Stack Overflow
stackoverflow.com › questions › 67279257 › vscode-issue-python-extension-loading-forever
visual studio code - vscode issue, python extension loading forever - Stack Overflow
April 27, 2021 - https://github.com/microsoft/vscode-python/issues/3967 ... add a comment to issue 14977 if you still have the problem. Issue 3967 is over a year old and not likely to be relevant ... How would I fix the issue of the python extension loading and Extension activation failed messages appearing?
🌐
GitHub
github.com › microsoft › vscode-python › issues › 5599
Python extension does not load, stuck at `Python extension loading` · Issue #5599 · microsoft/vscode-python
May 10, 2019 - unfortunately this issue has not been completely fixed: I just updated to the latest vscode: Version 1.33.1 (1.33.1) and the "Python extension loading" has been stuck for the last 3 hours, and I am staring at my source code. None of the ...
Published   May 10, 2019
Author   cmartinio
🌐
Visual Studio Marketplace
marketplace.visualstudio.com › items
Python - Visual Studio Marketplace
1 month ago - Extension for Visual Studio Code - Python language support with extension access points for IntelliSense (Pylance), Debugging (Python Debugger), linting, formatting, refactoring, unit tests, and more.
🌐
Reddit
reddit.com › r/vscode › issues loading python extension
r/vscode on Reddit: Issues Loading Python Extension
September 2, 2020 -

I'm starting to mess around with python again in my free time and I'm having issues with the python extension. I only have 3 extensions installed. C#, PowerShell, & Python. All from Microsoft. I've uninstalled/reinstalled VS Code. I'm running 3.8.5 python.

When I try to add python (control + shift + p) it spins at loading the extension and comes back with reload, wait, or cancel. If you hit wait afew times, it will eventually load the python extension. The machine is an i7 4xxx, 32 gb of ram, ssd, ect.... I'm seeing no CPU, RAM, or Disk spikes during this time.

Has anyone seen anything like this before? Is there anything in the event viewer log that would help?

*** EDIT ***
I also tried it with the other extensions disabled.

🌐
Reddit
reddit.com › r/vscode › python extension slow to load
r/vscode on Reddit: Python extension slow to load
December 2, 2020 -

Recently updated my laptop, and after installing VS Code and Python on the new machine, I've noticed that the Python extension takes forever to load any time VS Code is (re)started. I haven't timed it exactly, but probably at least a minute or more, just to load an extension on a 'gaming' laptop with oodles (technical term!) of RAM, disk space, and processor power to spare.

Nothing particularly exotic as far as extensions loaded - Python (obviously), Pylance, Jupyter, Remote - WSL, Vim, Visual Studio Intellicode and vs-code icons. Even with everything disabled but Python, Pylance and Jupyter, it doesn't change - and the extension very obviously holding things up is the Python one.

Nothing too exotic about the Python install... vanilla 3.8.6, from python.org, using virtualenvs for development. Even with the base install, and nothing much beyond pylint, black and virtualenvwrapper-win installed via pip... this seems really, really, really odd.

Any ideas?