赞
踩
报错原因:
没有安装pip,装上就好啦
1、下载
默认使用3.6的版本,
wget https://bootstrap.pypa.io/get-pip.py
提示版本2.7的python只能使用2.7的,所以
wget https://bootstrap.pypa.io/pip/2.7/get-pip.py
python get-pip.py
# 输入当前系统的python(x) 命令
注意
python命令需要对应你安装的python几
例如我装的python3
我运行
python3 get-pip.py
pip -V
which pip
find / -name pip
ln -s /usr/local/python/bin/pip /usr/bin/pip
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。