安装 python 包时弹出消息。我该怎么办?
The script tqdm.exe is installed in 'c:\program files\python36\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.
最佳答案
将 c:\program files\python36\Scripts
添加到 Windows 环境 PATH 变量。
您可以通过按 Win+R(打开运行命令窗口)并执行 sysdm.cpl
来完成此操作。将弹出高级系统设置窗口,然后单击高级选项卡并点击标记为环境变量的按钮。
现在您面前有两个部分:用户变量和系统变量。我几乎总是建议您只更改用户变量,这样您就不会更改任何系统或其他用户的设置。如果您的用户变量部分中还没有PATH变量,请通过单击新建来创建一个变量。否则,通过点击编辑来编辑现有的,并将其更改为
c:\program files\python36\Scripts;%PATH%;<whatever else was here>
关于python - 安装 python 包时弹出消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51022464/