Skip to content

macOS 12.3 code shell command doesn't work due to Python 2 being removed #141738

@fishcharlie

Description

@fishcharlie

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

  • VS Code Version: Version: 1.63.2 (Universal)
  • OS Version: macOS 12.3 Beta (21E5196i)

Summary

In macOS 12.3 beta Apple removed support for Python 2. Additionally Python 3 no longer comes bundled with macOS. This causes the code command to not work anymore.

The fact that VS Code is using Python 2 which hasn’t been officially supported since January 2020 is kinda crazy.

This should be fixed ASAP.


Steps to Reproduce:

  1. Ensure you are running macOS 12.3 Beta (21E5196i)
  2. Shell command: Install 'code' command in path in VS Code
  3. Run code in Terminal
/usr/local/bin/code: line 6: python: command not found
/usr/local/bin/code: line 10: ./MacOS/Electron: No such file or directory

Metadata

Metadata

Labels

*duplicateIssue identified as a duplicate of another issue(s)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions