gpt4 book ai didi

python - PIP 10.0.1 - 警告 "Consider adding this directory to PATH or..."

转载 作者:太空狗 更新时间:2023-10-29 23:56:54 42 4
gpt4 key购买 nike

The script flake8.exe is installed in 'c:\users\me\appdata\local\programs\python\python36-32\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.

对此做了一些研究,它似乎是某种反复出现的问题。

一个修复建议从环境变量中删除尾部斜杠。

还有其他想法吗?

每次我通过 PIP 安装时都会出现这种情况

我正在运行 python 3.6

最佳答案

如果从环境变量中删除尾部斜杠不起作用,请尝试以下操作。这对我来说可以。我正在使用 window 10 和 python3.7.0

Advanced system settings -> Environment Variables -> Path

Select Edit

Select Move Up button for both python and Scripts directory.

enter image description here

最终你的路径将如下所示。

enter image description here

If you are using other window version(In the case of not having move upbutton), put your python and Scripts directory at the beginning ofthe path.

关于python - PIP 10.0.1 - 警告 "Consider adding this directory to PATH or...",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49966547/

42 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com