Linux pip: command not found

一般linux上都自带python

python查看版本

python -V

第一步

如果pip版本和python版本不符,会提示错误,

python版本>=36

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

python版本==27

curl https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py

第二步

python get-pip.py

参考:

https://pip.pypa.io/en/stable/installing/

评论

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注




Enter Captcha Here :