Unable to run/debug run in my python file. I KNOW I downloaded python on my computer. I know I downloaded the extension in VS code. Every time I try to run even a simple print("abc") line of code I get nothing in the terminal and a message that reads
"Extension activation failed, run the 'Developer: Toggle Developer Tools' command for more information."
in addition to
"Python extension loading..."
and the extension never seems to finish loading its been hours.
How do I fix this I am working out of Windows
5
Answers
Don’t know the reason, for me I installed a pervious version for python EXTENSIONS, and issue fixed screenshot
Navigate to the extensions and you’ll find the extensions whose reload is required. Press reload and wait for the extension to refresh. Check the error message at the bottom to see if it still persists.
For me this problem occurred when updating VS code to version 1.75.0 and python extension version was 2022.20.2, problem fixed when updating python extension to version 2023.2.0
For example I have "Extension" named Python in the image below that gets updated or installed by vsCode automatically
If it doesn’t work for you, try uninstalling the extension and reinstalling it
This is all I know and it happened to me
You can install Extensions Python Environment Manager.