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.

With Live Share: "Python extension loading" is stuck

See original GitHub issue

Environment data

  • VS Code version: 1.55.2
  • Extension version: v2021.3.680753044
  • OS and version: Windows 10 with WSL2 and Ubuntu 20.04.2
  • Python version: Anaconda and Python 3.8.5
  • Type of virtual environment used: conda
  • Relevant/affected Python-related VS Code extensions and their versions: Live Share v1.0.4131
  • Value of the python.languageServer setting: Jedi

Behaviour

When I am in a Live Share Session (I’m the guest) and I open a .py file, VSCode totally gets stuck on “Python extension is loading”.
From this moment on VSCode is totally bugged even after a restart. I can’t open, close or save files. Live Share does not work at all but I cannot even exit Live Share. Even uninstalling Live Share does not help. The only thing that resets VSCode to normal is uninstalling the Python extension.

Steps to reproduce:

Join a Live Share Session open a .py file. Now everything is kinda stuck. VSCode is not frozen but pretty much useless. It might even get stuck when only a .py file is present in the working directory.

If my friend joins my session there is no problem. He has the same setup, that I have (WSL+Anaconda).

Logs

Nothing. (I have not found any useful logs)

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
Woutahcommented, May 2, 2021

The python extension seems to work fine up until version 2020.11.371526539, so re-rolling to this version seems to be a workaround for now (Extensions > Python > Right-click > install another version > 2020.11.371526539).

0reactions
brettcannoncommented, Jun 17, 2021

Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on then we will be happy to re-open this issue to pick up where we left off.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to solve the problem"Python extension loading..." in ...
uninstall all extensions and reinstall. uninstall visual studio code completely and reinstall. change my environment path and remove ";;" .....
Read more >
Troubleshooting - Visual Studio Live Share - Microsoft Learn
Start VS Code stable or insiders depending on your preference, click on the "extensions" tab, search for "Visual Studio Live Share" and install ......
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
The VS Code extensions ecosystem is incredibly rich and diverse. People have created extensions to help with just about any programming task or...
Read more >
Changelog — Python 3.11.1 documentation
gh-96611: When loading a file with invalid UTF-8 inside a multi-line string, ... bpo-46712: Share global string identifiers in deep-frozen modules.
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