vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Python Extension Activation Failures and Inconsistent Behavior

Open bzm10 opened this issue 1 year ago • 0 comments

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.92.2
OS Version: macOS 14.6.1

Description:

I have been encountering frequent issues with the Python extension in VS Code. Specifically, when attempting to run Python code, I experience various errors. The most common issues are:

  • Extension activation failed: Extension activation failed, run the 'Developer: Toggle Developer Tools' command for more information.
  • Run button and shortcut non-responsive: Clicking the run button or using the shortcut often does not trigger any action.

Interestingly, running the code through the debug tools works correctly. Additionally, I have experienced similar issues with the Python extension for the past two years. However, during a period when I used GitHub Copilot for about five months, these issues did not occur. After discontinuing GitHub Copilot, the problems with the Python extension resumed.

I suspect this might be an issue with VS Code itself, as I did not encounter any errors while GitHub Copilot was installed.

Steps to Reproduce:

  1. Uninstall and reinstall the Python extension.
  2. Run VS Code with all extensions disabled (code --disable-extensions).
  3. Reinstall VS Code.

bzm10 avatar Aug 28 '24 08:08 bzm10