-
Notifications
You must be signed in to change notification settings - Fork 1.2k
"Python extension loading..." message last forever #3967
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @PROFeNoM. Thanks for letting us know about this problem. Do you have this same problem using Python 3.4 or newer? The problem may lie in incompatibility with Python 3.1. |
Yes, i also tried with python 3.7 and had the same problem, but i didn't tried with other versions |
Do you have any other extensions installed? Sometimes they can causes problems for each other. Just to be clear, I haven't been able to reproduce the problem. So I'm trying to narrow down the possible problem a bit. |
Using the
With the latest unreleased build everything works and my logs looks like this:
In your logs I don't see any reference to a Python file (i.e. the one that triggered loading of the extension). |
I was having similar issues, which seemed to be due to the GitLens extension somehow. This extension now works fine with GitLens disable, although nothing obvious changed in the logs. |
Thanks @tmchartrand. @PROFeNoM, do you have the gitlens extension installed/enabled? Do you have the problem after disabling any other extensions? |
I'm having the same problem with Python 3.7 on Mac OS. No other extensions installed. |
I had this problem when VS Code 1.31.0 launched right after updating. Disabling GitLens temporarily made the Python extension finish loading. After that I was able to re-enable GitLens without issue. |
I had this same symptom, but with the cppcheck extension by Matthew Ferreira extension. Disabling cppcheck allowed the python extension to load. |
I had this same problem ,I had try unistall all app and extension,add reinstall this app,but when I open vscode ,python extension still can't load |
I'm experiencing this issue, too. I'm using I'm running Python 3.7.2 on Windows 10. In the past, I've had the Python Language Server load but never finish analyzing, whereas it works just fine using Jedi. This may be related. |
Everyone, what version of VS Code are you using? @xobs, @mthaha123, do you have any other extensions installed? @saravalente, please post logs here (see the instructions at the top of this issue). |
FYI, I'm trying to identify if there are two separate problems here or just one. Thanks for the patience. |
@ericsnowcurrently I do have many extensions on this particular machine, but it also happens on a different machine that only has Python installed. It's not consistent, and happens about 30-70% of the time.
Note that on this particular system I re-enabled JEDI, though that doesn't seem to have helped the problem. I've gotten JEDI to work, and I've gotten PLS to work, and I've had both JEDI and PLS fail. Python output:
VSCode still says "Python extension loading..." |
@DonJayamanne, any ideas here? |
Hi everyone,
"python.diagnostics.interpreterLocators": [
{
"type": "CondaEnvFileService",
"enabled": false
},
{
"type": "CondaEnvService",
"enabled": false
},
{
"type": "CurrentPathService",
"enabled": false
},
{
"type": "KnownPathsService",
"enabled": false
},
{
"type": "PipEnvService",
"enabled": false
},
{
"type": "VirtualEnvService",
"enabled": false
},
{
"type": "WindowsRegistryService",
"enabled": false
},
{
"type": "WorkspaceVirtualEnvService",
"enabled": false
}
] |
Please could you go into the Please do wait for a few seconds or a minute before you capture the logs. |
@DonJayamanne The issue seems to be fixed in the latest release? will report if it starts happening again. |
Environment data
Expected behaviour
The "Python extension loading..." message at the bottom should disappear and the extension should be usable
Actual behaviour
The message last forever and the extension isn't usable
Steps to reproduce:
NB : Also happens when launch as an administrator; after re-installing extension/vscode
Logs
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Output from
Console
under theDeveloper Tools
panel (toggle Developer Tools on underHelp
; turn on source maps to make any tracebacks be useful by runningEnable source map support for extension debugging
)The text was updated successfully, but these errors were encountered: