警告:脚本pip.exe,pip3.8.exe和pip3.exe安装在“ ...”中,该路径不在PATH

时间:2020-07-29 15:02:51

标签: python installation pip

我尝试安装pip,但出现此错误:

[33m  WARNING: The scripts pip.exe, pip3.8.exe and pip3.exe are installed in 'C:\Users\Itamar\AppData\Local\Programs\Python\Python38\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.[0m 

是什么意思?如何解决?

预先感谢

1 个答案:

答案 0 :(得分:1)

这意味着您已经安装了Python二进制文件,但是仅在终端中键入python时找不到它们。

您将需要输入整个路径,或者将安装目录添加到系统的PATH变量中,如在另一篇“堆栈溢出讨论”(Adding a directory to the PATH environment variable in Windows)中所述。