|
楼主 |
发表于 2020-3-21 20:42:18
|
显示全部楼层
本帖最后由 gubin686222 于 2020-3-21 21:45 编辑
8 [ {+ r3 s; k. C9 F1 q% X. y/ H3 l
x3p的python2 安装 pip2" O& u7 K+ P$ K& G
8 u, i/ Z2 r3 Z9 G" u) y
root 密码 Etech12 登入
& M% b, B% Y6 U( s+ _* w/ M7 o+ t- mount -o remount,rw /# J. B$ @4 |4 r1 y( T5 S# W
: c1 d. c& t2 f+ u k0 @- g/ s- wget https://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg --no-check-certificate& `3 t) v \5 ~5 u8 t! p2 y: p
- chmod +x setuptools-0.6c11-py2.7.egg
( F7 M% O$ A9 ~8 `$ f - sh setuptools-0.6c11-py2.7.egg
复制代码- wget https://pypi.python.org/packages/source/p/pip/pip-1.3.1.tar.gz --no-check-certificate* J% a' Y; n8 ~% K5 _
- cp pip-1.3.1.tar.gz /usr/src/
1 N6 B* S4 B0 j, j6 \" @ - tar zxvf pip-1.3.1.tar.gz
+ ^# i( `% D8 Q4 }; V* B - cd pip-1.3.13 o: z x1 @% B
- python setup.py install4 [7 o; C8 S& w, |7 Z+ R7 N
- ln -s /usr/local/python2.7/bin/pip /usr/bin/pip
复制代码 7 ~# E1 {/ L2 a/ k% ?+ X* l
|
|