bash: pip: command not found...

 

python2.7中安装pip命令

001、

[root@PC1 test]# pip
bash: pip: command not found...

 

 

002、

[root@PC1 test]# cat /etc/redhat-release

 

003、

[root@PC1 software]# curl https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py 
[root@PC1 software]# python get-pip.py

 

004、

[root@PC1 software]# pip --version
pip 20.3.4 from /usr/lib/python2.7/site-packages/pip (python 2.7)

 

posted @ 2023-05-15 13:20  小鲨鱼2018  阅读(43)  评论(0编辑  收藏  举报