You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use code in a terminal, I would expect VS Code to open a new window or focus one of my existing windows. Instead, I get the following error output:
/usr/local/bin/code: line 6: python: command not found
/usr/local/bin/code: line 10: ./MacOS/Electron: No such file or directory
Reading through the release notes for macOS Monterey 12.3 Beta 3, I found the following note:
Python 2.7 was removed from macOS in this update. Developers should use Python 3 or an alternative language instead. (39795874)
This means that the python command is no longer available. Installing Python 3 by default only creates a python3 command.
Symlinking python3 to python works as a workaround. But perhaps it would be possible to fix the script so that it works with either command or without Python at all?
VS Code version: Code 1.64.2 (f80445a, 2022-02-09T22:00:58.347Z)
OS version: Darwin x64 21.4.0
Restricted Mode: No
System Info
Item
Value
CPUs
Intel(R) Core(TM) i7-8569U CPU @ 2.80GHz (8 x 2800)
Issue Type: Bug
When I use
code
in a terminal, I would expect VS Code to open a new window or focus one of my existing windows. Instead, I get the following error output:Reading through the release notes for macOS Monterey 12.3 Beta 3, I found the following note:
This means that the
python
command is no longer available. Installing Python 3 by default only creates apython3
command.Symlinking
python3
topython
works as a workaround. But perhaps it would be possible to fix the script so that it works with either command or without Python at all?VS Code version: Code 1.64.2 (f80445a, 2022-02-09T22:00:58.347Z)
OS version: Darwin x64 21.4.0
Restricted Mode: No
System Info
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: