代码 。命令不再在终端中工作
昨天,“代码”。命令工作得很好。一夜之间,我确实将Mac更新为蒙特雷,现在,我不了解该命令不再起作用的确切原因。我已经将VS代码应用程序拖到了我的应用程序文件夹,完成的CMD + SFT + P,并成功安装了路径。当我尝试命令时,我会在终端中获取以下消息。
/usr/local/bin/code: line 6: python: command not found
/usr/local/bin/code: line 10: ./MacOS/Electron: No such file or directory
任何建议都将不胜感激!
Yesterday, the "code ." command was working perfectly fine. Overnight I did update my Mac to Monterey and now, I'm not understanding the exact reason why this command no longer works. I've already dragged the VS Code app to my applications folder, done CMD + SFT + P and successfully installed in PATH. When I try the command, I get the following message in my terminal.
/usr/local/bin/code: line 6: python: command not found
/usr/local/bin/code: line 10: ./MacOS/Electron: No such file or directory
Any advise would be greatly appreciated!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我相信这是一个重复的问题。
下面可以解释您想要的所有细节。
请参考: https://stackover.com/questions/questions/29971053/-29971053/how-to-to-to-to-to-to-to-to-to-to-to-to-to-to-to-to-to-to-to-to-to-to--how-to--how-to--how-to-to--how-to--how-to--how-to-to-开放视觉阶段 - 符合命令 - 命中率 - OSX#:〜:text = for%20ME%20on%20macbook%20macbook%20Book%20PRO%202019%20macos和%20 type%20 type%20 code%20 y 20 y 20 Your%20VScode %20WILL%20 start%20Opening 。
I believe this is a duplicate question.
Below one can explain all the details you want.
Please refer to: https://stackoverflow.com/questions/29971053/how-to-open-visual-studio-code-from-the-command-line-on-osx#:~:text=For%20me%20on%20Macbook%20Book%20Pro%202019%20MacOS,and%20type%20code%20your%20vscode%20will%20start%20opening.