|
楼主 |
发表于 2020-3-21 20:42:18
|
显示全部楼层
本帖最后由 gubin686222 于 2020-3-21 21:45 编辑 0 w0 ^) H# J7 P4 ]; h6 s5 w
% b3 d- g5 M3 ^" _8 d" ~0 U% U( S+ Q6 z- xx3p的python2 安装 pip20 R5 U! F$ f5 _# |5 V6 H
( z# y! u x1 s0 L. Y# Jroot 密码 Etech12 登入
7 _! p" _) i2 o2 _- mount -o remount,rw /
; m& m1 M6 E( K% ] - 5 ~0 M- _ B' I
- wget https://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg --no-check-certificate
: @+ }* _' r& ]: N% K - chmod +x setuptools-0.6c11-py2.7.egg
5 |% { P) h( _1 m4 f8 R7 f7 I - sh setuptools-0.6c11-py2.7.egg
复制代码- wget https://pypi.python.org/packages/source/p/pip/pip-1.3.1.tar.gz --no-check-certificate9 X) T* E9 v0 Y+ {! \+ g
- cp pip-1.3.1.tar.gz /usr/src/% K. |$ E$ w% \( C' g% ^0 s f
- tar zxvf pip-1.3.1.tar.gz& R. D, }. @# z( \, v) t7 \2 Z: |
- cd pip-1.3.1
& t( H6 @; }. [2 G8 H# N2 a - python setup.py install
4 w" C, n8 A% e9 e - ln -s /usr/local/python2.7/bin/pip /usr/bin/pip
复制代码
& e. f! _. R4 L- ~9 E! P( Z* a) K |
|