Windows上安装pip
2020-08-18 本文已影响0人
小圆圈Belen
前提:安装配置好python
链接:https://www.jianshu.com/p/57da3a7650a3
1.下载:
官网链接:https://pypi.org/project/pip/#downloads

2.安装
(1)在命令行中,进入到pip解压的路径

(2)在命令行执行
python setup.py install
此时会在python的路径下生成script文件,文件中包含pip。看到finished表示成功。

3.配置
在系统变量path中新增pip的配置,其路径为python安装目录的Scripts文件夹

4.验证
在命令行输入pip
,如果不生效,关闭命令窗口再重新打开
