|
|
楼主 |
发表于 2021-12-3 20:12:29
|
显示全部楼层
[root@compute01 ~]# pip install "docker==4.4.4"
4 _: Z9 R3 Y* ?9 I8 qDEPRECATION: 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.7 v* K( I9 X. ^ l4 c& Z
Looking in indexes: http://mirrors.aliyun.com/pypi/simple/
: ?' q1 z6 u" @3 l7 \Collecting docker==4.4.41 P+ C7 z. l* \# v* O* `2 T; E8 J% [
Downloading http://mirrors.aliyun.com/pypi/p ... y2.py3-none-any.whl (147 kB)
% D$ O% ^' G9 {2 H |████████████████████████████████| 147 kB 16.5 MB/s
& b# C) I7 k# G) Z; F: g% SRequirement already satisfied: six>=1.4.0 in /usr/lib/python2.7/site-packages (from docker==4.4.4) (1.16.0)
5 n% p; ~9 ?, y$ X( |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)+ Z$ [6 I4 o" P6 v) R
Requirement already satisfied: websocket-client>=0.32.0 in /usr/lib/python2.7/site-packages (from docker==4.4.4) (1.2.1), W: [; q' |1 S) i5 K0 D% F2 S$ B9 l& W
ERROR: Package 'websocket-client' requires a different Python: 2.7.5 not in '>=3.6'3 `; p( I2 @" X/ J/ j4 G
[root@compute01 ~]# pip install -U websocket-client0 N# P/ J% t6 R1 E/ \! u1 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.
( P! C' e: r4 I i/ [1 q4 ALooking in indexes: http://mirrors.aliyun.com/pypi/simple/
' q5 ~& |# U3 ORequirement already up-to-date: websocket-client in /usr/lib/python2.7/site-packages (1.2.1)
0 T; e ~" ^# ^5 IERROR: Package 'websocket-client' requires a different Python: 2.7.5 not in '>=3.6'
; `1 j" m9 Y0 n5 Z6 Y" Y3 N[root@compute01 ~]# pip install -U "websocket-client"7 I: t; r! ]8 b/ g' W5 @9 U; V
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.6 X( ~4 m# J+ B h q+ e5 M: s1 f, g' x
Looking in indexes: http://mirrors.aliyun.com/pypi/simple/, D; b4 s" m1 I* b0 W w8 I
Requirement already up-to-date: websocket-client in /usr/lib/python2.7/site-packages (1.2.1)
- w ]' B0 E9 [, i) PERROR: Package 'websocket-client' requires a different Python: 2.7.5 not in '>=3.6': u: V, q: e( ~1 P+ i
[root@compute01 ~]# pip install -U "websocket-client==0.59"- E' {( d+ K& z! ~) e- |+ {: @
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., Y3 R1 P" ]# L! [6 \. |; L, o
Looking in indexes: http://mirrors.aliyun.com/pypi/simple/8 ~8 I! o7 i) Z* g4 N4 j) X
Collecting websocket-client==0.59
# Z4 c$ _1 Q& ?% C Downloading http://mirrors.aliyun.com/pypi/p ... y2.py3-none-any.whl (67 kB)1 {) W1 ?/ S# v7 b
|████████████████████████████████| 67 kB 14.5 MB/s - n( E7 j1 \8 }: j% h* i1 R6 t# @ H
Requirement already satisfied, skipping upgrade: six in /usr/lib/python2.7/site-packages (from websocket-client==0.59) (1.16.0)
0 C$ e L# U# @; t& H: cInstalling collected packages: websocket-client4 L6 X( b7 {# v: H- n( t
Attempting uninstall: websocket-client4 Z& h& a- |5 H" p' _
Found existing installation: websocket-client 1.2.1
* L3 ], V1 ]) s Uninstalling websocket-client-1.2.1:
$ B9 J! V f7 q' g, Z0 [ Successfully uninstalled websocket-client-1.2.1
4 g1 r: R: ]& F$ G3 ySuccessfully installed websocket-client-0.59.0
3 j/ a5 U; {2 ^; R% ^% R[root@compute01 ~]# pip install "docker==4.4.4"5 S% r- |+ Y0 @1 B; w+ p U5 R6 y/ M9 n
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.
* s% @; a' e3 ^/ G: T; s) y( ^8 j' n8 u5 ILooking in indexes: http://mirrors.aliyun.com/pypi/simple/- Y4 x- h* k* Y
Collecting docker==4.4.4- o# ^% ]: V$ P# B! p
Downloading http://mirrors.aliyun.com/pypi/p ... y2.py3-none-any.whl (147 kB)
1 \+ q7 e: r ` [2 t |████████████████████████████████| 147 kB 13.3 MB/s
$ q6 R% g6 f) p* y! [Requirement already satisfied: six>=1.4.0 in /usr/lib/python2.7/site-packages (from docker==4.4.4) (1.16.0)4 d0 o j; g) z+ g6 B5 e, d6 E
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)" W1 p, ^5 Z) f, Q. c/ y# z5 e% R
Requirement already satisfied: websocket-client>=0.32.0 in /usr/lib/python2.7/site-packages (from docker==4.4.4) (0.59.0). b6 d0 m) H3 _5 F
Requirement 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)
; s) U2 y- R. Q" J; NRequirement 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)
4 R( m C* o s4 I: y! H+ 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)9 K; Y/ W/ A5 \5 s6 @* C0 X
Requirement 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)
+ F3 v# k/ W P- s. F7 g% GRequirement 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)( {0 s3 [: @2 q
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$ ?' v5 s5 x5 X! | L& JInstalling collected packages: docker
9 j7 h' ^, T5 |Successfully installed docker-4.4.4 |
|