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
🌐
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?

Discussions

"Python extension loading" super slow
Environment data VS Code version: 1.50.1 (local) Extension version (available under the Extensions sidebar): local : python v2020.10.332292344 remote :v2020.10.332292344 OS and version: Ubuntu 19.1... More on github.com
🌐 github.com
11
November 10, 2020
"Python extension loading..." message lasts forever
Be able to use Python in VSCode. "Python extension loading..." message last forever More on github.com
🌐 github.com
16
April 23, 2021
"Python extension loading..." message last forever
Environment data VS Code version: x64-1.30.2 Extension version (available under the Extensions sidebar): 2018.12.1 OS and version: Windows 10 Python version (& distribution if applicable, e.g. ... More on github.com
🌐 github.com
19
January 12, 2019
Python extension very slow to load
Issue Type: Bug Python extension very slow to load. Is there anything I can do to speed up the loading of the Python extension given the system and VSCode details below? It used to be barley notice... More on github.com
🌐 github.com
5
January 29, 2021
🌐
GitHub
github.com › microsoft › vscode-python › issues › 14639
"Python extension loading" super slow · Issue #14639 · microsoft/vscode-python
November 10, 2020 - ... Python version (& distribution if applicable, e.g. Anaconda): XXX · Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv ... console.ts:137 [Extension Host] (node:17707) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues.
Author   jacquespeeters
🌐
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
🌐
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
🌐
GitHub
github.com › microsoft › vscode-python › issues › 15265
Python extension very slow to load · Issue #15265 · microsoft/vscode-python
January 29, 2021 - As soon as the Python extension finished loading, all of the text instantly appeared on the screen. ... Also, the first time I try and run some python code in the Interactive Pane, I have to wait an additional few minutes to "connect" to a Jupyter server. I have been using the Python extension for several years now. Something happened over the past few updates that has dramatically slowed things down.
Author   clayms
Find elsewhere
🌐
GitHub
github.com › microsoft › vscode › issues › 171356
VScode extremely slow with Pylance and Python · Issue #171356 · microsoft/vscode
January 15, 2023 - Final edit: I downloaded an old version of the VScode 1.62.0 and the problem solved. That means that somewhere is a bug in the latest version 1.74.3. ... *caused-by-extensionIssue identified to be caused by an extensionIssue identified to be caused by an extension
Author   Apisteftos
🌐
YouTube
youtube.com › codedash
vscode python extension loading slow - YouTube
Instantly Download or Run the code at https://codegive.com title: speeding up vscode python extension loading: a comprehensive tutorialintroduction:visual s...
Published   February 29, 2024
Views   77
🌐
GitHub
github.com › microsoft › vscode-python › issues › 15955
Python extension loads very slowly: unresponsive · Issue #15955 · microsoft/vscode-python
April 14, 2021 - Relevant/affected Python-related VS Code extensions and their versions: maybe Jupyter, v2021.5.745244803 · Value of the python.languageServer setting: "python.languageServer": "Pylance" Very quick environment loading, no significant delays reported in the logs of the CPU profile (see below).
Author   lazarillo
🌐
GitHub
github.com › microsoft › vscode-python › issues › 6392
Extension does not load, stuck at "Python extension loading..." · Issue #6392 · microsoft/vscode-python
June 30, 2019 - Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info How to update the language server to the latest stable version #3977): Jedi enabled · Extension should load and function.
Author   jeffbi
🌐
Lightrun
lightrun.com › answers › coder-code-server-loading-ms-python-extension-in-offline-mode-too-slow
loading ms-python extension in offline mode too slow
How would I fix the issue of the python extension loading ... 1 Answer 1 · Uninstall Python extension (if you have pylance uninstall it first). · Close all instances of VS Code.
🌐
YouTube
youtube.com › watch
vscode python extension not loading - YouTube
Instantly Download or Run the code at https://codegive.com title: troubleshooting guide: vscode python extension not loadingintroduction:visual studio code ...
Published   February 29, 2024
🌐
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
🌐
VSCode.one
vscode.one › make-vscode-faster
Here's How to Make VSCode Faster
If you find that some of them are taking over 1000 milliseconds to start, you may want to investigate this further. I recommend this guide by John Papa for speeding up VS Code extensions. His guide involves bundling your extensions with webpack to improve performance.
🌐
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)