- 积分
- 16841
在线时间 小时
最后登录1970-1-1
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
(.venv) [root@controller hcis_manager_portal]# pip install mysqlclient==2.2.6
, w/ E# c: P0 LCollecting mysqlclient==2.2.6
$ C1 o3 A+ w6 {) ~6 J5 _% E) R" [# j Using cached mysqlclient-2.2.6.tar.gz (91 kB)
7 }" s3 Z& W; d7 Q7 z Installing build dependencies ... done
6 d+ q. X+ A& y1 Y2 T% Y Getting requirements to build wheel ... error- E8 m7 m$ H' I9 z
error: subprocess-exited-with-error; L- P4 i- b& r9 k" x' {2 l M
: Q9 J7 B7 \3 o2 P: N3 X
× Getting requirements to build wheel did not run successfully.; Y+ x/ m3 N$ d
│ exit code: 1; S1 R* `8 {! a: i9 `) u
╰─> [29 lines of output]
' ^8 O% f. v2 u6 `4 @4 x X6 b Trying pkg-config --exists mysqlclient
; U' o& c6 }) y- Z4 I Command 'pkg-config --exists mysqlclient' returned non-zero exit status 1.+ a) r" H/ x+ `+ D* f9 P& j4 W+ ?
Trying pkg-config --exists mariadb
* [7 O2 W8 `0 Y Command 'pkg-config --exists mariadb' returned non-zero exit status 1.* `' Q; \# a$ I0 |4 T
Trying pkg-config --exists libmariadb
$ y4 q2 d4 v2 f5 X! j& \ Command 'pkg-config --exists libmariadb' returned non-zero exit status 1.
; O6 {6 }* F* s5 K Trying pkg-config --exists perconaserverclient
. T% a% L2 d" D1 k" h3 I% Y0 ]7 { Command 'pkg-config --exists perconaserverclient' returned non-zero exit status 1.
- T4 I# B2 K4 C! f9 v- f Traceback (most recent call last):6 s' f! A; K9 X8 q, d( G8 c
File "/usr/local/python_projects/DjangoProject/hcis_manager_portal/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>. R2 T$ t: \ E' m5 ~- H' _/ |4 d" T
main()
& \, Z0 ]1 }" R# I7 v3 X File "/usr/local/python_projects/DjangoProject/hcis_manager_portal/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
& F/ h( T. R/ W" p' N json_out['return_val'] = hook(**hook_input['kwargs'])/ U f4 n, D' P ^5 r' w
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0 h4 w9 S7 S% g8 W' h) d& e File "/usr/local/python_projects/DjangoProject/hcis_manager_portal/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
4 `1 h6 t- ~ I/ |4 i* I, l% J return hook(config_settings)9 P" ? C" t% x4 s4 K
^^^^^^^^^^^^^^^^^^^^^: M q2 T, ]8 d$ i; K! [# S0 c' E+ r
File "/tmp/pip-build-env-useridpb/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel
* j& P; h7 g' L return self._get_build_requires(config_settings, requirements=[]) a3 N# v8 F6 }8 s7 a
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
) [* d* Z+ D3 G; c- V+ y! g. d% V File "/tmp/pip-build-env-useridpb/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires1 d9 G! U% s: O1 M3 I0 b' T/ U4 a
self.run_setup()/ T" Y5 y, s9 {3 U0 \2 w# u# p
File "/tmp/pip-build-env-useridpb/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 317, in run_setup3 |0 r1 `* F8 I- z+ p+ d: e
exec(code, locals())! N' j7 v2 x5 E6 Z5 E" r
File "<string>", line 155, in <module>1 Q9 H' T- V# d( F; Y/ b
File "<string>", line 49, in get_config_posix- y# A P! _' ]8 [' K, G$ L
File "<string>", line 28, in find_package_name
2 j. b7 U$ {6 |9 I# l Exception: Can not find valid pkg-config name.
. Z- J5 w" k: t Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env vars manually7 ^" m6 w0 }% ^3 S) j& R3 T
[end of output]" W, E! A' H; N# k5 z
a3 o4 \2 P7 u' \ note: This error originates from a subprocess, and is likely not a problem with pip.
) ~2 _! }) t; s- S$ K6 i& e) R+ U+ _# [. _$ m
[notice] A new release of pip is available: 24.3.1 -> 25.3
! x0 [ ~! d, [1 Y' s9 B# N[notice] To update, run: pip install --upgrade pip C7 ^' c& @* ^+ `) {
error: subprocess-exited-with-error, k4 b! F1 h5 z; E0 H9 V
6 Z# ]% _3 [' [ C× Getting requirements to build wheel did not run successfully.
% M4 Z3 ^ {' Q M: d│ exit code: 1
2 |3 c2 f% H5 P$ f7 D╰─> See above for output.
- T3 `! V* r n
( d$ k0 ]) q, W3 c" a) Jnote: This error originates from a subprocess, and is likely not a problem with pip.
/ i( Q! T" ^# U9 s" W& P6 o( F6 v% S
安装失败:/ [9 w. r4 m- j
(.venv) [root@controller hcis_manager_portal]# pip install mysqlclient==2.2.40 |6 w$ r& E) ?9 o7 j
Collecting mysqlclient==2.2.45 K p5 P" k G
Using cached mysqlclient-2.2.4.tar.gz (90 kB)
2 X- m/ h! t5 U* ~% l/ W Installing build dependencies ... done
, G7 B. [% _3 Q: l Getting requirements to build wheel ... error1 R7 m3 J4 Z6 [2 Y. _8 _5 J
error: subprocess-exited-with-error
( j- { V5 A( [
* r$ M: j+ ^# q( U; s × Getting requirements to build wheel did not run successfully.! B9 N3 O- X/ u) u
│ exit code: 1
$ k o! x) u. q7 ~1 h ╰─> [27 lines of output]1 C* G, z+ f6 N5 S8 [2 h
Trying pkg-config --exists mysqlclient" ^ r. ?/ K' `3 [; G" ^
Command 'pkg-config --exists mysqlclient' returned non-zero exit status 1.
# k6 |3 i- v1 u2 M3 } Trying pkg-config --exists mariadb& A/ J# l- h, |8 z i( z
Command 'pkg-config --exists mariadb' returned non-zero exit status 1.
+ E) B; u: p+ H: S( H! m, S2 ] Trying pkg-config --exists libmariadb
% m( I$ u8 }! A! I( ~2 q' W Command 'pkg-config --exists libmariadb' returned non-zero exit status 1.
2 q! C a! O/ s& _2 T7 r Traceback (most recent call last):
( V t/ I0 q X0 o0 z: `3 m/ A File "/usr/local/python_projects/DjangoProject/hcis_manager_portal/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>! o/ _/ I* Z0 ^# E$ Q
main()1 i( t( p* Y. c. a4 B5 K
File "/usr/local/python_projects/DjangoProject/hcis_manager_portal/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main# [, }; {/ ^+ ~6 I% K& H- z Z1 c
json_out['return_val'] = hook(**hook_input['kwargs'])
* p& [5 O" M+ j2 ~$ f$ C- \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^/ k% C! h6 l, L2 s5 t1 j
File "/usr/local/python_projects/DjangoProject/hcis_manager_portal/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
+ ^# J; ~2 [: C" T t; u: C" U& \ return hook(config_settings)
1 {! A6 Q# S! h ^^^^^^^^^^^^^^^^^^^^^) N% c( U) C/ p) G6 e
File "/tmp/pip-build-env-qutrixi9/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel0 ?: n0 B: r( f
return self._get_build_requires(config_settings, requirements=[])7 J) a8 P# H7 t; O# r
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^6 E9 _1 t: f2 q7 {) p
File "/tmp/pip-build-env-qutrixi9/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires& Y& b) ^" \- Y5 e. r
self.run_setup()% ^8 L! Q: f( L$ W' z) y
File "/tmp/pip-build-env-qutrixi9/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 317, in run_setup
, c3 N' u0 I }# N8 c) P exec(code, locals())
+ g$ K; R; U4 u7 I* t m File "<string>", line 155, in <module>, t% W v7 b! z$ T( Y9 Z/ r" B
File "<string>", line 49, in get_config_posix
' j# Y* N/ ~0 a: u9 B5 \/ f File "<string>", line 28, in find_package_name
/ ? Z5 V- t* \- X. K' R0 q Exception: Can not find valid pkg-config name.
$ N0 e o/ U. T. t: H+ _" ?0 ^; q Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env vars manually; c* c/ H. Y5 R& k
[end of output]
; O3 P& R2 e" ~ ~6 |1 o# b$ Q
* S0 I+ _4 C* o6 p& E3 o note: This error originates from a subprocess, and is likely not a problem with pip.6 e1 V# U) Z( _: O$ M: S# ]
' M* r3 q% K' K9 n' W[notice] A new release of pip is available: 24.3.1 -> 25.3
4 U! {+ M2 _9 _! i7 L5 C[notice] To update, run: pip install --upgrade pip
3 h, y' c* v5 |9 |7 cerror: subprocess-exited-with-error
7 y. |. A; E! q2 O: o8 r1 i8 `: w& _0 s4 W5 @" R6 d
× Getting requirements to build wheel did not run successfully.8 R3 ]7 O$ v8 N) c- j9 L( J
│ exit code: 1
% s1 J7 u5 k- c0 B# j- C# E9 c( [╰─> See above for output.! T( c; k8 B6 r! {9 w
0 a2 x$ W- A' L( p" ]/ Q3 J& Rnote: This error originates from a subprocess, and is likely not a problem with pip.
/ Z# f" l, W& J1 R(.venv) [root@controller hcis_manager_portal]# pip install mysqlclient==2.2.4( U/ @* }7 A: G
Collecting mysqlclient==2.2.4
' F/ i' T3 L' f Using cached mysqlclient-2.2.4.tar.gz (90 kB)
9 T3 H8 v" Z2 |' U4 K Installing build dependencies ... done \7 |, q* j$ t5 z" I1 b) S" I0 k8 R
Getting requirements to build wheel ... error, B0 R& X- @6 u% Z3 D9 T3 j
error: subprocess-exited-with-error3 U% \ Z5 Z( e& r/ E) Y8 Q" O/ j
6 W3 T2 p7 @5 O3 t% V. K$ b+ K/ |( ]
× Getting requirements to build wheel did not run successfully.) u7 }( w% U7 z
│ exit code: 1. d" c& d% `7 H( W3 N
╰─> [27 lines of output]) w! ~8 `, N! E _) F( {6 h
Trying pkg-config --exists mysqlclient, @2 \7 E; [/ S" G+ ^+ q- W
Command 'pkg-config --exists mysqlclient' returned non-zero exit status 1.
2 a6 X$ L5 J0 Z Trying pkg-config --exists mariadb0 ?8 q* g/ S! L9 D9 b
Command 'pkg-config --exists mariadb' returned non-zero exit status 1.
2 m5 k& a- W0 C+ n8 ? Trying pkg-config --exists libmariadb
8 W6 _! t; T, z9 W; M) o Command 'pkg-config --exists libmariadb' returned non-zero exit status 1.
- `! Y' q/ W& ~8 u2 e Traceback (most recent call last):
/ a/ N* d" ~3 u. j File "/usr/local/python_projects/DjangoProject/hcis_manager_portal/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
4 ^" Y$ b8 r f9 F. B3 \9 q! e) x main()
" F/ `2 N$ v4 f File "/usr/local/python_projects/DjangoProject/hcis_manager_portal/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main+ E- f1 ]6 [+ @2 L* C
json_out['return_val'] = hook(**hook_input['kwargs'])
% N3 d* F, j- C4 i ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5 R8 V3 Z. d) u: Z- b, M File "/usr/local/python_projects/DjangoProject/hcis_manager_portal/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
: s$ O& a5 j8 S' k6 j' h9 X3 ~ return hook(config_settings)
- s4 i; U! X8 X& o ^^^^^^^^^^^^^^^^^^^^^) }+ d. M" ~, Y6 p& l g; Z/ s
File "/tmp/pip-build-env-l5wcrzu8/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel
# ?8 f0 q; A& q return self._get_build_requires(config_settings, requirements=[])
1 b( `- _+ E3 d1 c: a0 L/ y ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 ?" b/ [* V* f) C9 U! ] File "/tmp/pip-build-env-l5wcrzu8/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires7 D8 r) {/ S" T- R2 B( [5 a
self.run_setup()
- G6 L5 C* @1 K3 [ File "/tmp/pip-build-env-l5wcrzu8/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 317, in run_setup" ~3 k2 w1 j) `$ ]: c/ W+ a: |
exec(code, locals())9 J' R3 v4 K+ j( L* J: P& ~. f9 ^
File "<string>", line 155, in <module>
3 I* N/ T7 w6 G) n" y File "<string>", line 49, in get_config_posix* K. J/ n4 ^- T4 H
File "<string>", line 28, in find_package_name. \$ o( F1 x7 ?* E) M$ z8 i& |
Exception: Can not find valid pkg-config name.# n( n' |: T# f. U( N" W
Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env vars manually
+ k* P) G- j1 I: p/ l% | [end of output]
; g7 X0 k7 j8 B9 i
3 P" l# [# i. n" W& |- Z, @6 W1 q note: This error originates from a subprocess, and is likely not a problem with pip.
$ n9 {8 w; F: C1 H2 u' }" V
4 n0 K! x# W5 _1 c( ] A5 p& z[notice] A new release of pip is available: 24.3.1 -> 25.30 o* _5 }! _# T- f+ c
[notice] To update, run: pip install --upgrade pip- t% K! r6 k8 [8 p$ f, m
error: subprocess-exited-with-error
& K7 o0 f- Z: K# P
( \" V4 l/ e+ H Y× Getting requirements to build wheel did not run successfully.; Z5 V. \: B2 I6 e! A F8 t& D) ~3 g
│ exit code: 1
! o: v; P) ^% ]. [. W$ G; e╰─> See above for output.
# \! I2 u6 E7 E; l2 z7 S6 X3 T _; ^
5 H& e" [4 I0 b" Bnote: This error originates from a subprocess, and is likely not a problem with pip.8 a: ?3 C6 g! T) J2 m
6 F% @# P7 J) q1 l% r) i' n4 k, D" |升级pip组件:
6 W4 c7 `& u! R# S* ^5 t
6 M6 `" d2 @! ?9 g3 q( Z9 ^(.venv) [root@controller hcis_manager_portal]# pip install --upgrade pip==25.0.0/ J: Z' V0 N( @# G( \" L
Collecting pip==25.0.0
1 }+ Z" I' e9 w1 V' ~ Downloading pip-25.0-py3-none-any.whl.metadata (3.7 kB)
! m0 b0 M. T% h' C0 ^; ?Downloading pip-25.0-py3-none-any.whl (1.8 MB)* U; c/ M& V! ~6 x" T- k
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 30.2 kB/s eta 0:00:004 @2 \. I) k" F: d( P
Installing collected packages: pip1 F7 @& f+ M* [$ ?- t5 S5 ] T
Attempting uninstall: pip; v1 B3 g4 _3 B
Found existing installation: pip 24.3.1& \$ x9 Z+ K ]5 p- F
Uninstalling pip-24.3.1:
. O$ B# Q& s' S3 O8 | Successfully uninstalled pip-24.3.1
- I$ q* _3 F3 ], gSuccessfully installed pip-25.0
4 A! U( f6 W5 n9 x/ a" J( h3 {7 S$ r7 J( a0 J( K; J3 b+ k
[notice] A new release of pip is available: 25.0 -> 25.3' N: J0 m$ O1 c0 F4 F' O
[notice] To update, run: pip install --upgrade pip; d) ]/ f8 D1 x1 Y- G) Y
(.venv) [root@controller hcis_manager_portal]# pip install mysqlclient==2.2.4 {/ o0 y! F2 ^( i0 E6 Z7 O( ~
Collecting mysqlclient==2.2.4
- b" i* t/ x4 i B3 b Using cached mysqlclient-2.2.4.tar.gz (90 kB)
q n' q! r5 Y. C' Y: T: G. _ Installing build dependencies ... done/ U9 z2 k5 g; _
Getting requirements to build wheel ... error
1 o m2 M8 o7 p$ X. U error: subprocess-exited-with-error
' M" U. C6 I2 } 6 ^5 R% T1 p9 X% y( g. A1 v* O+ g" d& G
× Getting requirements to build wheel did not run successfully. [. h6 [3 L3 w3 D" W6 p5 g
│ exit code: 14 \! r" \3 r# l
╰─> [27 lines of output]/ T, u0 w# O }% M1 a
Trying pkg-config --exists mysqlclient6 ^ i' c9 j; N3 \3 a
Command 'pkg-config --exists mysqlclient' returned non-zero exit status 1.+ x; S, s- ~# Q% G" g( C2 ~' I
Trying pkg-config --exists mariadb7 {9 U8 V: M# z1 C# }/ H% e
Command 'pkg-config --exists mariadb' returned non-zero exit status 1.- D3 e2 p; r+ c* f7 t
Trying pkg-config --exists libmariadb
+ @; X6 S! U h* g2 d8 t Command 'pkg-config --exists libmariadb' returned non-zero exit status 1.
6 |% H4 V- X+ c( I Traceback (most recent call last):$ `3 @5 u* { ]
File "/usr/local/python_projects/DjangoProject/hcis_manager_portal/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module> q/ ?; B0 F$ V9 F/ ?5 z
main()7 K5 S% [5 @; K3 Z' H# t/ Q( ]
File "/usr/local/python_projects/DjangoProject/hcis_manager_portal/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
$ n- B; Y, R/ v" P json_out["return_val"] = hook(**hook_input["kwargs"])8 Q4 P. g3 j' C$ r& w4 o& e
^^^^^^^^^^^^^^^^^^^^^^^^^^^^: t6 o; w. W: w4 Z" u
File "/usr/local/python_projects/DjangoProject/hcis_manager_portal/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel) K; b2 x2 y& ~
return hook(config_settings)# J: i0 h8 s+ R8 n9 R; x9 h) i
^^^^^^^^^^^^^^^^^^^^^
# {" Q1 ~7 f' k File "/tmp/pip-build-env-i0x30et5/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel
" @! H% P1 Y8 }$ D: I return self._get_build_requires(config_settings, requirements=[])2 X. k* B% F8 S( G
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6 D# Q( N9 g. h5 d A File "/tmp/pip-build-env-i0x30et5/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires5 W' Y1 s' F/ @; b6 q" ^6 \% G8 B7 j. j
self.run_setup()! N: O4 w2 u s! h; H" v+ P
File "/tmp/pip-build-env-i0x30et5/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 317, in run_setup
5 R" q0 Y( `8 l( d exec(code, locals())) ~8 Q7 T, [( ?$ _4 B5 p
File "<string>", line 155, in <module>
& M$ a A5 U& v! C) X3 h9 l- T File "<string>", line 49, in get_config_posix1 r$ Y& o' M \
File "<string>", line 28, in find_package_name& F% c0 X! M' c/ \
Exception: Can not find valid pkg-config name.
' p. Q5 m- g1 _9 F Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env vars manually
& i; K1 i5 g# E2 j" e [end of output]
" `& m0 N5 D8 ~/ G5 n 6 i; n( V4 h4 s) P; ~6 t) Z# c
note: This error originates from a subprocess, and is likely not a problem with pip.
, t) w/ Q# _! j6 W; }# O" ]8 O" X" u, _! \% B3 v# D
[notice] A new release of pip is available: 25.0 -> 25.3
$ h9 f* s+ V$ [& n; l[notice] To update, run: pip install --upgrade pip
0 N. d$ u! K- verror: subprocess-exited-with-error
, z1 S3 N7 G" A, n8 G
Y$ C) o* u( Y, P) K× Getting requirements to build wheel did not run successfully.
" m! `% c6 p, E. ~% D│ exit code: 1
1 c! p5 F" @ ]9 s╰─> See above for output.: \2 f: |5 l! L
. p# n( [& @3 d. Y0 e& pnote: This error originates from a subprocess, and is likely not a problem with pip.3 E: L* ?% m7 h5 _: U# Q. r
(.venv) [root@controller hcis_manager_portal]# 3 V- O* F- M3 Z% r/ J' j( O
(.venv) [root@controller hcis_manager_portal]#
. x; C7 s5 T% y" w6 I# G1 u(.venv) [root@controller hcis_manager_portal]# 1 q/ d! o2 O- _: s
(.venv) [root@controller hcis_manager_portal]#9 [) ?* ~% j- a( d2 V, Z
1 }9 g! y7 ?. v$ D0 }2 O& l0 |
安装相关组件包:, I( E9 E% x/ Q8 @* h
(.venv) [root@controller hcis_manager_portal]# dnf install -y gcc python3-devel mariadb-connector-c-devel pkg-config 2 K, D: v) ]+ w( e: a
Last metadata expiration check: 0:05:33 ago on Thu 08 Jan 2026 09:43:40 AM CST.1 l3 n* V0 V9 H1 S7 C
Package gcc-12.3.1-81.oe2503.x86_64 is already installed.
$ y. D3 Z, V& S3 ^+ ~( PPackage pkgconf-2.3.0-1.oe2503.x86_64 is already installed.6 D8 s- Q9 y/ y
Dependencies resolved.
) |: n# a5 ]& A% k8 Z==================================================================================================================================================================- Q6 M# j4 i1 N/ F$ O
Package Architecture Version Repository Size
; m5 R( G4 X+ M7 c' O9 `==================================================================================================================================================================
! H3 r! H3 d- nInstalling:
2 }, W) U: d6 d3 M9 \# I' O4 C mariadb-connector-c-devel x86_64 3.4.3-1.oe2503 OS 146 k( x# z8 `+ B2 ]. `
python3-devel x86_64 3.11.11-3.oe2503 OS 17 M
# R& }: e" w" F. Q+ E5 e2 ]Installing dependencies:/ J0 B; t5 O1 n' W; ]4 k. z
python3-rpm-generators noarch 9-5.oe2503 OS 21 k
+ t! ]9 w7 c2 ?, p; Z! \5 V- b. C. C3 S- O2 y0 v6 n- i! h
Transaction Summary6 ^4 F2 d0 }1 ?. b
==================================================================================================================================================================
0 ~# [. i# ]1 E& m/ f( vInstall 3 Packages) ]9 n9 U; C& U. z; e6 v4 T, F
4 z& _: i+ B; j0 S* B% }Total size: 17 M
2 X5 ~! X; J7 uTotal download size: 146 k1 ?' e. E( q1 D6 d6 m% {# T
Installed size: 106 M) ?% ~# p' b. V
Downloading Packages:
4 [) j3 }& ^ g: R% q- P[SKIPPED] python3-devel-3.11.11-3.oe2503.x86_64.rpm: Already downloaded
/ t6 P- h2 ^! r& m' L[SKIPPED] python3-rpm-generators-9-5.oe2503.noarch.rpm: Already downloaded - e( ^/ M) I0 f
(3/3): mariadb-connector-c-devel-3.4.3-1.oe2503.x86_64.rpm 268 kB/s | 146 kB 00:00
+ |3 x6 w+ l, @$ K8 }! M. ~ K------------------------------------------------------------------------------------------------------------------------------------------------------------------- g! [/ a! {! w2 w% q" n' b
Total 190 kB/s | 146 kB 00:00 / W' y- r5 T# E4 _
Running transaction check
! _+ Y" R( P' V/ j% ]" o7 t) X- JTransaction check succeeded.% f% | D+ E1 B' \- x/ w
Running transaction test) f# [. s( T) b+ t9 ~* _
Transaction test succeeded.4 |1 b/ Q, f/ ~
Running transaction
% ~; g' ]3 o0 O! I# V# t& W Preparing : 1/1 % o u: U* L$ e. F+ K2 Q
Installing : python3-rpm-generators-9-5.oe2503.noarch 1/3 : L. B# e* R( g3 ]
Installing : python3-devel-3.11.11-3.oe2503.x86_64 2/3
# l- e! U- i0 @# g0 V7 a D4 M Installing : mariadb-connector-c-devel-3.4.3-1.oe2503.x86_64 3/3
4 ], |9 {' I) U Running scriptlet: mariadb-connector-c-devel-3.4.3-1.oe2503.x86_64 3/3 % u* S7 m3 D4 A* M* A3 ~% W
Verifying : mariadb-connector-c-devel-3.4.3-1.oe2503.x86_64 1/3
- v& e* O2 B `. {6 {! {6 g Verifying : python3-devel-3.11.11-3.oe2503.x86_64 2/3
5 p( K. A+ D" n8 G# ] Verifying : python3-rpm-generators-9-5.oe2503.noarch 3/3
' j: @! V+ z! c) u
z8 M6 L4 [7 D0 vInstalled:5 T, G, z9 p( |% T
mariadb-connector-c-devel-3.4.3-1.oe2503.x86_64 python3-devel-3.11.11-3.oe2503.x86_64 python3-rpm-generators-9-5.oe2503.noarch
9 h% C$ R- A4 O& [8 F( M
& i8 G$ \. I- V/ XComplete!( N7 h& Z5 t i$ j6 L I1 `
# m9 D ` [" b1 Q) Y再次安装:7 C6 f3 l& ^5 a: ]0 V! s( L
(.venv) [root@controller hcis_manager_portal]# pip install mysqlclient==2.2.4" x2 O8 a, g# G8 s$ M2 l) X
Collecting mysqlclient==2.2.4
% R0 A/ J1 \# M7 K7 @( @7 `$ v3 E& D Using cached mysqlclient-2.2.4.tar.gz (90 kB)
4 l, s/ y: e( g" p) [ Installing build dependencies ... done+ _0 c$ x2 T' M* W
Getting requirements to build wheel ... done
7 R. d1 W; A# s3 p Preparing metadata (pyproject.toml) ... done
1 `/ T$ z8 K5 |( J V" B+ r! ^Building wheels for collected packages: mysqlclient
+ a, B$ Y6 {0 \7 ?5 I% W, c Building wheel for mysqlclient (pyproject.toml) ... done H( e! P0 \/ m ]- H
Created wheel for mysqlclient: filename=mysqlclient-2.2.4-cp311-cp311-linux_x86_64.whl size=79781 sha256=f28c5635af2009e45164e218fa8bb37b32ba06d451dd9a08766a7e91c1c4252b
& B4 k! {+ W$ g Stored in directory: /root/.cache/pip/wheels/1e/2f/4c/0bd8be7e2f3255f9436ce68bb1c2563661e8b7bbd49dcff0e02 u4 l& Y; c6 _; V
Successfully built mysqlclient8 E# Q- U' g. e4 u# _* a2 T+ W) }
Installing collected packages: mysqlclient
5 B1 T+ G0 Z6 |% f6 R Attempting uninstall: mysqlclient D; ^( R. r" D8 }+ @ u
Found existing installation: mysqlclient 2.2.0% D6 Y7 H% b2 t7 L; O5 c
Uninstalling mysqlclient-2.2.0:
* o. b, `5 ^3 N; Y Successfully uninstalled mysqlclient-2.2.0
. u! u/ K4 I' U) XSuccessfully installed mysqlclient-2.2.43 J) _: C* O: L
" n# } \: j. J# p: G) j
[notice] A new release of pip is available: 25.0 -> 25.3
4 c2 d+ [5 m; n& s( b0 g- i[notice] To update, run: pip install --upgrade pip* y: L9 M- X# _8 V! V) t
8 S& f( D* p% P# g
成功安装。; H" I2 l8 G9 X% i8 v/ g
5 e4 K: a# q3 B' V5 R) z
(.venv) [root@controller hcis_manager_portal]# pip install mysqlclient==2.2.6. _' u2 ?3 _7 a" V1 G" Y
Collecting mysqlclient==2.2.6
$ O/ |) l/ d( D1 L) F. f: _, D Using cached mysqlclient-2.2.6.tar.gz (91 kB)
; G+ C, A% ^' j4 [7 G! J& g Installing build dependencies ... done
& T# T) n, l% R Getting requirements to build wheel ... done
& o) t, `4 _9 U! ?# k& z Preparing metadata (pyproject.toml) ... done
- ^: L8 q( Y% Z8 sBuilding wheels for collected packages: mysqlclient
+ y3 o8 u+ \ C. Z4 d% ? Building wheel for mysqlclient (pyproject.toml) ... done4 G, n' u3 \0 H- `1 ^7 Y
Created wheel for mysqlclient: filename=mysqlclient-2.2.6-cp311-cp311-linux_x86_64.whl size=80153 sha256=d3621a4c2733d18e78583c9a0558c81a653db240080c03deae38e2d7fa8bbe7b' ^; o4 ]- y5 Z- [
Stored in directory: /root/.cache/pip/wheels/7f/f3/9e/f1b8d41481e49d3d5381db6846c88637d253014786c15eb299$ ` X# O- |5 I( e C( E3 s
Successfully built mysqlclient
$ T- Q% C% m0 ^' f' C( j9 A! CInstalling collected packages: mysqlclient
1 D3 x# T: ~0 v" O! Q: \ Attempting uninstall: mysqlclient- _2 c6 t) g) j6 F' r, I
Found existing installation: mysqlclient 2.2.4; y! X& `0 O( `: h
Uninstalling mysqlclient-2.2.4:8 V: j: {) Z5 n; ~5 x
Successfully uninstalled mysqlclient-2.2.4/ K' k& s% {' d- o& A
Successfully installed mysqlclient-2.2.6, {/ R3 b, I( a y3 |* |) P
5 }# l0 z0 D( u5 f
[notice] A new release of pip is available: 25.0 -> 25.3
3 W% b9 v z: u- ]. H- @9 x9 m[notice] To update, run: pip install --upgrade pip
4 z! x& V- M/ Z8 C* U# m" u7 Y4 G3 B' w; v ~: A- m8 p
5 |; j3 X1 h+ C& o+ A成功升级。! S) T% `* k3 V1 |9 B( l
完成安装。
* z% n/ _6 s; g6 Q7 W; y |
|