pip python安装程序告诉我pip已经安装,并且显示以下错误:
Collecting pip
Using cached https://files.pythonhosted.org/packages/00/b6/9cfa56b4081ad13874b0c6f96af8ce16cfbc1cb06bedf8e9164ce5551ec1/pip-19.3.1-py2.py3-none-any.whl
Installing collected packages: pip
Found existing installation: pip 19.3.1
Uninstalling pip-19.3.1:
Successfully uninstalled pip-19.3.1
[33m WARNING: The scripts pip.exe, pip3.8.exe and pip3.exe are installed in 'C:\Users\ABUBAKAR SADIQ\AppData\Local\Programs\Python\Python38-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.[0m
Successfully installed pip-19.3.1
答案 0 :(得分:0)
您已经安装了pip软件包,但Windows不知道该软件包在哪里。您需要将该目录添加到Windows的PATH变量中。
在您的命令行中执行:
setx path "%path%;C:\Users\ABUBAKAR SADIQ\AppData\Local\Programs\Python\Python38-32\Scripts"