|
|
楼主 |
发表于 2021-12-3 20:12:29
|
显示全部楼层
[root@compute01 ~]# pip install "docker==4.4.4"
* G) b* q r3 c2 b! r) XDEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/de ... s/#python-2-support pip 21.0 will remove support for this functionality.8 G' ?% Z! x4 E1 g
Looking in indexes: http://mirrors.aliyun.com/pypi/simple/
2 i7 ^9 ]: A5 l4 JCollecting docker==4.4.4
: o: n% a! X s- F: P# V+ w Downloading http://mirrors.aliyun.com/pypi/p ... y2.py3-none-any.whl (147 kB)8 g/ G' e. Z9 W
|████████████████████████████████| 147 kB 16.5 MB/s A, q6 C; t! T( W+ a, N& F. b
Requirement already satisfied: six>=1.4.0 in /usr/lib/python2.7/site-packages (from docker==4.4.4) (1.16.0)
" ?& d: l6 z- yRequirement already satisfied: requests!=2.18.0,>=2.14.2 in /usr/lib/python2.7/site-packages (from docker==4.4.4) (2.26.0)2 z. }/ z! v z, N' c; j- S& {" d
Requirement already satisfied: websocket-client>=0.32.0 in /usr/lib/python2.7/site-packages (from docker==4.4.4) (1.2.1)/ b, R# U0 W' ^9 }! H: F$ `, w! u
ERROR: Package 'websocket-client' requires a different Python: 2.7.5 not in '>=3.6'- F( L. F# K0 `" {2 W8 F7 B
[root@compute01 ~]# pip install -U websocket-client Q2 |1 s3 N) Y6 k" ]( @3 T
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/de ... s/#python-2-support pip 21.0 will remove support for this functionality.# U0 W+ P' y1 z3 n* H! c+ h2 Z
Looking in indexes: http://mirrors.aliyun.com/pypi/simple/
1 d: J* E t, G' LRequirement already up-to-date: websocket-client in /usr/lib/python2.7/site-packages (1.2.1)
5 j0 L' R/ P( }9 |' ^/ hERROR: Package 'websocket-client' requires a different Python: 2.7.5 not in '>=3.6'* z: D! G+ ?: o3 c+ J1 c7 h5 g
[root@compute01 ~]# pip install -U "websocket-client"
8 x% w4 a- L# |3 H' \DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/de ... s/#python-2-support pip 21.0 will remove support for this functionality.
* |/ P3 X" Q$ ^Looking in indexes: http://mirrors.aliyun.com/pypi/simple/
% \: k# Q7 q' v6 f' ^0 A1 [Requirement already up-to-date: websocket-client in /usr/lib/python2.7/site-packages (1.2.1)
& x# N# y* e0 s$ c) X0 R( \ERROR: Package 'websocket-client' requires a different Python: 2.7.5 not in '>=3.6'' i0 c5 h4 w. y" E5 k
[root@compute01 ~]# pip install -U "websocket-client==0.59"
# ^& j/ r0 n0 X, VDEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/de ... s/#python-2-support pip 21.0 will remove support for this functionality.
+ N! w# `$ [& |9 z! V rLooking in indexes: http://mirrors.aliyun.com/pypi/simple/1 ~0 p5 a, C& s! e6 Y- W
Collecting websocket-client==0.590 f1 L+ P D9 f
Downloading http://mirrors.aliyun.com/pypi/p ... y2.py3-none-any.whl (67 kB): g3 o6 c2 W' O- L5 C* q' h- V
|████████████████████████████████| 67 kB 14.5 MB/s
. F4 d) z' L" V! \( T0 K& q4 cRequirement already satisfied, skipping upgrade: six in /usr/lib/python2.7/site-packages (from websocket-client==0.59) (1.16.0). \" c/ _5 ]. x
Installing collected packages: websocket-client
! F# ^5 ]6 i# u7 _3 Z& ?2 A1 \! r" r Attempting uninstall: websocket-client9 t% ~0 z# _3 U% Q" M
Found existing installation: websocket-client 1.2.1
. _2 M1 B* X+ k0 a; e; N Uninstalling websocket-client-1.2.1:/ U V1 D. l [7 \1 X7 R
Successfully uninstalled websocket-client-1.2.1, G" N; m# ?, e9 S
Successfully installed websocket-client-0.59.0( N, a0 H5 {+ M9 P
[root@compute01 ~]# pip install "docker==4.4.4"3 P: n; v6 G" `+ g/ D
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/de ... s/#python-2-support pip 21.0 will remove support for this functionality.
( U& @( ~3 C+ f. T$ Y3 k+ G2 O5 |' s3 kLooking in indexes: http://mirrors.aliyun.com/pypi/simple/ P" I5 m' y6 R& e7 o
Collecting docker==4.4.4
2 K0 D, s& @: n2 x3 l9 r: l5 w: U Downloading http://mirrors.aliyun.com/pypi/p ... y2.py3-none-any.whl (147 kB); \& |4 e3 u7 J6 l4 {
|████████████████████████████████| 147 kB 13.3 MB/s 7 b5 s/ n) e4 s
Requirement already satisfied: six>=1.4.0 in /usr/lib/python2.7/site-packages (from docker==4.4.4) (1.16.0)- z g6 V) W: y% a% d' P$ G
Requirement already satisfied: requests!=2.18.0,>=2.14.2 in /usr/lib/python2.7/site-packages (from docker==4.4.4) (2.26.0)
6 l; R7 o$ [' {Requirement already satisfied: websocket-client>=0.32.0 in /usr/lib/python2.7/site-packages (from docker==4.4.4) (0.59.0)
& |- Z, v" h9 p$ {' ZRequirement already satisfied: backports.ssl-match-hostname>=3.5; python_version < "3.5" in /usr/lib/python2.7/site-packages (from docker==4.4.4) (3.7.0.1); _6 L& c3 h- T' P
Requirement already satisfied: ipaddress>=1.0.16; python_version < "3.3" in /usr/lib/python2.7/site-packages (from docker==4.4.4) (1.0.16)
7 Y' Y) D* G, c2 B5 yRequirement already satisfied: certifi>=2017.4.17 in /usr/lib/python2.7/site-packages (from requests!=2.18.0,>=2.14.2->docker==4.4.4) (2021.10.8)
: \) [' {+ R0 A" ~2 zRequirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python2.7/site-packages (from requests!=2.18.0,>=2.14.2->docker==4.4.4) (1.26.7)
& x" _6 r, K3 N% u8 n' F7 \$ WRequirement already satisfied: idna<3,>=2.5; python_version < "3" in /usr/lib/python2.7/site-packages (from requests!=2.18.0,>=2.14.2->docker==4.4.4) (2.10)+ c$ X) N: S- E
Requirement already satisfied: chardet<5,>=3.0.2; python_version < "3" in /usr/lib/python2.7/site-packages (from requests!=2.18.0,>=2.14.2->docker==4.4.4) (4.0.0); k: K8 G7 |( j+ r6 J* o
Installing collected packages: docker% K$ n) G& z* N# e: t1 m! `; r- O
Successfully installed docker-4.4.4 |
|