Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/350.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python:在windows 10上安装pip时出现警告_Python_Python 3.x_Pip - Fatal编程技术网

Python:在windows 10上安装pip时出现警告

Python:在windows 10上安装pip时出现警告,python,python-3.x,pip,Python,Python 3.x,Pip,以下是我在命令提示符下尝试在windows 10上安装pip(以安装python软件包)时收到的消息: Collecting pip Using cached pip-20.2.2-py2.py3-none-any.whl (1.5 MB) Collecting setuptools Downloading setuptools-49.6.0-py3-none-any.whl (803 kB) |████████████████████████████████| 803 kB

以下是我在命令提示符下尝试在windows 10上安装pip(以安装python软件包)时收到的消息:

Collecting pip
  Using cached pip-20.2.2-py2.py3-none-any.whl (1.5 MB)
Collecting setuptools
  Downloading setuptools-49.6.0-py3-none-any.whl (803 kB)
     |████████████████████████████████| 803 kB 1.3 MB/s
Installing collected packages: pip, setuptools
  WARNING: The scripts pip.exe, pip3.8.exe and pip3.exe are installed in 'C:\Users\GMU\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.
  WARNING: The scripts easy_install-3.8.exe and easy_install.exe are installed in 'C:\Users\GMU\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.
Successfully installed pip-20.2.2 setuptools-49.6.0
这是什么意思? 它说它已安装,但当我尝试

pip——版本

命令或`

皮普

我有消息说pip不是一个recognize命令


感谢您的帮助。

Windows建议您将python添加到路径中。 当您将python添加到路径中时,您将能够在命令提示符中执行pip


我建议您看看这个问题。

我发现这个问题也是一个解决方案

第一次不是以英语为母语,所以在第一次阅读时没有得到它

我安装python的路径不是很好或者类似的,所以pip无法正确地检索它。这一信息或多或少清楚地表明了这一事实

以下是我所做的:

  • 卸载pip
  • 卸载python 3.8.0
  • 使用个性化配置(不推荐)安装python 3.8.5,因为install exe希望将python安装到与上一版本相同的文件夹中。所以我选择了
    “C:\Program”
    ,并在安装程序提示下安装了Pip,以便将其放在同一个文件夹中
  • 现在对我来说很好


    道德=>不要将python安装到此路径
    C:\Users\GMU\AppData\Local\Programs\python\…

    其他信息:我使用的是3.8.0版python。python已添加到我的Windows环境中。问题不在那里