安装python软件包时弹出消息

时间:2018-06-25 11:31:34

标签: python python-3.x

在安装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.

1 个答案:

答案 0 :(得分:0)

c:\program files\python36\Scripts添加到Windows环境PATH变量。

您可以通过按 Win + R (打开运行命令窗口)并执行sysdm.cpl来执行此操作。弹出高级系统设置窗口,然后单击高级选项卡并单击标记为环境变量的按钮。 现在,您前面有两个部分:用户变量系统变量。我几乎总是建议您仅更改用户变量,以免更改任何系统或其他用户的设置。如果您在用户变量部分中没有 PATH 变量,请单击 New 创建一个。否则,通过点击 Edit 编辑现有的并将其更改为

c:\program files\python36\Scripts;%PATH%;<whatever else was here>