A-A+
python2 pip安装 No module named pip
【注意:此文章为博主原创文章!转载需注意,请带原文链接,至少也要是txt格式!】
可以通过Python一键执行命令,如下:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
执行后系统报错:
ERROR: This script does not work on Python 2.7 The minimum supported Python version is 3.6. Please use https://bootstrap.pypa.io/pip/2.7/get-pip.py instead.
因为我的python版本是Python 2.7.5 而官网说:https://pip.pypa.io/en/stable/installing/ Python 2 >=2.7.9 or Python 3 >=3.4 d
所以我只能对应版本下载:
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py
即可解决问题。
布施恩德可便相知重
微信扫一扫打赏
支付宝扫一扫打赏