我刚刚从 PyCharm 切换到 VSCode,当我尝试 pip install X 时,我收到以下消息:
pip : The term 'pip' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or if a
path was included, verify that the path is correct and try again.
At line:1 char:1
+ pip install discord
+ ~~~
+ CategoryInfo : ObjectNotFound: (pip:String) [], CommandNotFoun
dException
+ FullyQualifiedErrorId : CommandNotFoundException
Run Code Online (Sandbox Code Playgroud)
我已经更新了 PATH,当我在命令提示符下执行“echo %PATH%”时,我得到了与我的 PyCharm PATH 目录完全相同的目录。为什么 VSCode 不工作,而 PyCharm 工作完美? …