|
楼主 |
发表于 2020-3-21 20:42:18
|
显示全部楼层
本帖最后由 gubin686222 于 2020-3-21 21:45 编辑 8 T* R* ^3 y) g
, ] C5 P8 g! T+ N
x3p的python2 安装 pip2( O4 _7 k3 V: |; g% d" Y1 F
( h) N7 H+ \5 Y; ~+ b4 @2 _& s
root 密码 Etech12 登入
% P, H* m3 _: N. B) ?8 N& U- mount -o remount,rw /
0 x( h; x+ U, ` - - _: v9 Y% @) x3 X6 p, n
- wget https://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg --no-check-certificate4 L# W& X/ A- z% [: E
- chmod +x setuptools-0.6c11-py2.7.egg
. n7 |0 ?) C+ m7 p( w - 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
" b R2 ^# t3 I# A - cp pip-1.3.1.tar.gz /usr/src/
1 F! \$ }. e5 t - tar zxvf pip-1.3.1.tar.gz5 o$ ]2 {# W r& `9 f2 P( q0 J; Y
- cd pip-1.3.1
|) f* N$ c) o8 `, t! p - python setup.py install
: k* {% e% v9 J8 s7 i! I - ln -s /usr/local/python2.7/bin/pip /usr/bin/pip
复制代码
) ~8 ^2 R( W: N& U6 d6 p |
|