简体   繁体   English

从终端打开 vscode 文件挂起

[英]Opening vscode file from terminal hangs

I'm running MacOS Catalina and I've installed visual-studio-code via Homebrew.我正在运行 MacOS Catalina,并且通过 Homebrew 安装了visual-studio-code When I run the code command my terminal hangs indefinitely and nothing happens.当我运行code命令时,我的终端无限期地挂起,没有任何反应。

I've tried re-installing VScode, the code command itself, and re-installing the command through the VScode UI as shown in the second image.我尝试重新安装 VScode、代码命令本身,并通过 VScode UI 重新安装命令,如第二张图所示。

How can I get the code command to run without hanging?如何让代码命令在不挂起的情况下运行?

在此处输入图像描述 在此处输入图像描述

The code command calls python which I didn't have installed correctly. code命令调用python我没有正确安装。 Check that the python command runs correctly.检查python命令是否正确运行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM