Skip to content

Python Extension Activation Failures and Inconsistent Behavior #24018

@bzm10

Description

@bzm10

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.

Metadata

Metadata

Assignees

Labels

info-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions