"Python extension loading..." message lasts forever
See original GitHub issueI 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 the Extensions sidebar): v2021.4.765268190
- OS and version: Win 10 Pro
- Python version (& distribution if applicable, e.g. Anaconda): 3.9.4
- Relevant/affected Python packages and their versions: Jupyter version: 2021.5.745244803
[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (python.languageServer: 'Microsoft'), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]
Expected behaviour
Be able to use Python in VSCode.
Actual behaviour
“Python extension loading…” message last forever
Steps to reproduce:
Install Anaconda 3 with newest Python release Install VSCode Install python Extension
–>
Logs
OUTPUT is empty for Python.
Extension Host log is:
[2021-04-23 18:43:03.968] [exthost] [info] extension host started
[2021-04-23 18:43:04.129] [exthost] [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication {"startup":false,"extensionId":{"value":"vscode.microsoft-authentication","_lower":"vscode.microsoft-authentication"},"activationEvent":"onAuthenticationRequest:microsoft"}
[2021-04-23 18:43:04.129] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/User/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/microsoft-authentication/dist/extension.js
[2021-04-23 18:43:04.147] [exthost] [info] ExtensionService#_doActivateExtension ms-toolsai.jupyter {"startup":false,"extensionId":{"value":"ms-toolsai.jupyter","_lower":"ms-toolsai.jupyter"},"activationEvent":"onLanguage:python"}
[2021-04-23 18:43:04.147] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/User/.vscode/extensions/ms-toolsai.jupyter-2021.5.745244803/out/client/extension
[2021-04-23 18:43:04.513] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch {"startup":true,"extensionId":{"value":"vscode.debug-auto-launch","_lower":"vscode.debug-auto-launch"},"activationEvent":"*"}
[2021-04-23 18:43:04.513] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/User/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/debug-auto-launch/dist/extension
[2021-04-23 18:43:04.521] [exthost] [info] ExtensionService#_doActivateExtension vscode.git {"startup":true,"extensionId":{"value":"vscode.github","_lower":"vscode.github"},"activationEvent":"*"}
[2021-04-23 18:43:04.521] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/User/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/git/dist/main
[2021-04-23 18:43:04.550] [exthost] [info] WSL is not installed, so could not detect WSL profiles
[2021-04-23 18:43:05.151] [exthost] [info] ExtensionService#_doActivateExtension vscode.github {"startup":true,"extensionId":{"value":"vscode.github","_lower":"vscode.github"},"activationEvent":"*"}
[2021-04-23 18:43:05.151] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/User/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/github/dist/extension.js
[2021-04-23 18:43:05.159] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode.js-debug {"startup":false,"extensionId":{"value":"ms-vscode.js-debug","_lower":"ms-vscode.js-debug"},"activationEvent":"onCommand:extension.js-debug.clearAutoAttachVariables"}
[2021-04-23 18:43:05.159] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/User/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/ms-vscode.js-debug/src/extension.js
[2021-04-23 18:43:05.307] [exthost] [info] ExtensionService#_doActivateExtension ms-python.python {"startup":false,"extensionId":{"value":"ms-python.python","_lower":"ms-python.python"},"activationEvent":"onLanguage:python"}
[2021-04-23 18:43:05.308] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/User/.vscode/extensions/ms-python.python-2021.4.765268190/out/client/extension
[2021-04-23 18:43:05.458] [exthost] [info] eager extensions activated
[2021-04-23 18:43:05.570] [exthost] [info] ExtensionService#_doActivateExtension vscode.github-authentication {"startup":false,"extensionId":{"value":"vscode.github-authentication","_lower":"vscode.github-authentication"},"activationEvent":"onAuthenticationRequest:github"}
[2021-04-23 18:43:05.570] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/User/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/github-authentication/dist/extension.js
[2021-04-23 18:43:05.581] [exthost] [info] ExtensionService#_doActivateExtension vscode.emmet {"startup":false,"extensionId":{"value":"vscode.emmet","_lower":"vscode.emmet"},"activationEvent":"onStartupFinished"}
[2021-04-23 18:43:05.582] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/User/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/emmet/dist/node/emmetNodeMain
[2021-04-23 18:43:05.593] [exthost] [info] ExtensionService#_doActivateExtension vscode.merge-conflict {"startup":false,"extensionId":{"value":"vscode.merge-conflict","_lower":"vscode.merge-conflict"},"activationEvent":"onStartupFinished"}
[2021-04-23 18:43:05.593] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/User/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/merge-conflict/dist/mergeConflictMain
[2021-04-23 18:43:05.597] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-wsl-recommender {"startup":false,"extensionId":{"value":"ms-vscode-remote.remote-wsl-recommender","_lower":"ms-vscode-remote.remote-wsl-recommender"},"activationEvent":"onStartupFinished"}
[2021-04-23 18:43:05.598] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/User/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/ms-vscode-remote.remote-wsl-recommender/dist/extension.js
[2021-04-23 18:43:05.607] [exthost] [info] ExtensionService#_doActivateExtension vscode.testing-editor-contributions {"startup":false,"extensionId":{"value":"vscode.testing-editor-contributions","_lower":"vscode.testing-editor-contributions"},"activationEvent":"onStartupFinished"}
[2021-04-23 18:43:05.607] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/User/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/testing-editor-contributions/dist/extension.js
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:16 (3 by maintainers)
Top Results From Across the Web
How would I fix the issue of the python extension loading and ...
1 Answer 1 · Uninstall Python extension (if you have pylance uninstall it first). · Close all instances of VS Code. · Go...
Read more >Python Extension loading issues : r/vscode - Reddit
I'm having a problem where the python extension has a very long loading time. I've tried unistalling and reinstalling but that hasn't worked....
Read more >Visual Studio Code Workspace Trust security
Visual Studio Code takes security seriously and wants to help you safely browse and edit code no matter the source or original authors....
Read more >Improve start up time - Visual Studio (Windows) | Microsoft Learn
If an extension is slowing down Visual Studio startup, solution loading, or typing, the extension appears in the Manage Visual Studio ...
Read more >Troubleshooting — Anaconda documentation
I get an error message that says “activate.bat is not a recognized file or ... When compiling Python extensions with gcc on Windows,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

With a fresh install of VS Code 1.60.0 + Python 3.9.6 this issue is still unresolved.
Please re-open this ticket.
Follow this thread https://github.com/microsoft/vscode-python/issues/14977#issuecomment-919565210 which tracks the issue and states the temporary fix, I would appreciate if you can also send the info asked here https://github.com/microsoft/vscode-python/issues/16026#issuecomment-919441133, thanks!