-
Notifications
You must be signed in to change notification settings - Fork 70
something went wrong activating IntelliCode support for Python+ Error while activating Python: {} #266
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
So I wasn't able to solve the problem but due to the fact I must work with flask for the time being I did the following:
|
@savannahostrowski please can you take a look at this issue? |
The error trace here seems to say that your VS Code version is too low. Can you upgrade to at least VS Code 1.51? (Your original post did not provide the VS Code version you are using.) |
@MoElaSec did you have a chance to try @jakebailey 's advice? Are you running VS Code 1.51 or higher? |
OK, thanks for getting back to us, and appreciate the info @MoElaSec . @jakebailey any further follow up steps possible here? |
The next version of the Python extension correctly indicates its minimum version of VS Code to prevent installing it on incompatible versions, but if the issue was not fixed by updating, then we'd need a new stack trace to see what's going on. |
For reference, the info would be the "Python" output logs that you had screenshotted in the original issue (as well as the VS Code version in use). |
Hi Jake, |
I think I fixed it - after upgrading VSCode, there wasn't a Python interpreter selected by default for some reason. I selected a Python interpreter and that seems to have fixed the problem. I'm not getting the same error message when loading VSCode or in the Python logs. |
I have the same issue while running VS Code 1.54.1. Everything worked fine in 1.52.1, but failed as soon as I updated to 1.54.1. Python output for 1.54 and corresponding output for 1.52 attached. |
tagging @jakebailey to see @keg247 's new output |
I don't think this is related to the other users in this thread. IIRC there was some mutual bugfixes that went out for both VS Code and the Python extension to resolve some proposed API problems. @luabud or @karthiknadig may recall better if this applies.
But, I do not know who is enabling that proposed API. "nullExtensionDescription" does not appear in the Python extension, the Pylance extension, nor in the language server client. Perhaps there's some usage that's doing it, but I don't know much about this. |
The message implies some extension has a null description, but none in the Python stack is missing the property in their package.json... |
Just noting that this is still an issue. Can't get it to work with Pylance on latest Insiders VSCode. |
I just ran into this issue ....for one minute its working ..I close vs code for like 2mins, I return and now I have this problem that won't let me do anything ! Help? |
Tagging @luabud and @savannahostrowski to see if we can gather more info to help diagnose and solve this |
@Paril @Z3ROD4RK it would be very helpful for us to see the logs associated with the failing sessions you are both seeing. To view these, please bring up the Python output window (View menu... Output... and select Python in the drop down at the right hand end), then paste the entire log into a text file and attach to this bug. They should have diagnostic information and stack traces for the failures you are seeing which will help our team diagnose correctly. Thanks! |
Intellisense is not workingUnable to navigate in VS code python file. Yesterday, it was working fine, but don't know what happened today. Tried several things but no use. Here's the error message: Here are the vscode details: Please help me! Can't do any work without this Python output:
VS Intellisense output
|
I'm thinking that any report that contains |
Okay, is there any fix? @jakebailey |
@FazeelUsmani would you mind trying again? -A |
@ayim This is working now. Thanks! |
Going to the Python extension in the store (ms-python.python), then update the extension or switch to (pre-release) and restart VSCode fix the problem for me |
I faced the same issue. In my case, pylance extension, which is required for intellicode was not active. I found out that the pylance for my vscode version was not supported anymore. Updating the VS code to the latest version fixed this error. |
Product and Version : VSCode
OS Version : Windows
IntelliCode Extension Version: v1.2.10
Target Platform or Language : Python 3.9 (I used to have 3.8 and same problem happened)
Steps to Reproduce / Scenario:
1.Open VS-Code
2. Wait for extensions to load
No this's different from this issue #57
non of what's said there or other similar issues fixed my problem the main difference is in the output as there's no info just stops and say: Error while activating Python: {}
VS IntelliCode Output:

the bottom of the long Python Output:

I have many similar Errors similar to the one shown above, this is a text for the complete output:
python_output.txt
The text was updated successfully, but these errors were encountered: