|
|
(.venv) [root@controller hcis_manager_portal]# pip install mysqlclient==2.2.6
: s3 [0 V) n7 I9 n0 v3 b/ ACollecting mysqlclient==2.2.6( e% u+ U. F) c1 r3 E
Using cached mysqlclient-2.2.6.tar.gz (91 kB)
, S+ K( q& D) N% e! N Installing build dependencies ... done0 p: R9 ~' d) d# ]
Getting requirements to build wheel ... error- e3 a" x- d& u
error: subprocess-exited-with-error$ Y: h2 A* D3 Q% }: f& j! `- J& H
6 p6 A) m& B# C3 D6 U5 R × Getting requirements to build wheel did not run successfully.
, X; C6 |, p6 |$ Z& n0 h │ exit code: 19 Q9 @: W; n5 s: ]7 i; X! p
╰─> [29 lines of output]
: B" i- l. ~' z% k% j( {$ l0 o" _" B3 s Trying pkg-config --exists mysqlclient
0 M, D v; [% k C Command 'pkg-config --exists mysqlclient' returned non-zero exit status 1.
3 R }: A( S3 k9 ] Trying pkg-config --exists mariadb' ?, M8 }6 z+ o4 `1 h: Z8 B; ~: I u
Command 'pkg-config --exists mariadb' returned non-zero exit status 1.
3 K1 h7 U6 s* ?: f7 R Trying pkg-config --exists libmariadb
; ^: f/ l0 @+ x) G7 T1 K' V! N Command 'pkg-config --exists libmariadb' returned non-zero exit status 1.) t. o& _8 M& m4 d7 b( P
Trying pkg-config --exists perconaserverclient+ H+ t0 M2 P3 g/ {4 ~
Command 'pkg-config --exists perconaserverclient' returned non-zero exit status 1.5 F/ u2 k4 C2 u! Z
Traceback (most recent call last):( S5 k/ ^2 s" T( ^
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>
1 C& ?; i3 ]* h- |/ T; p) P main()1 M' q4 v6 M1 D
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
% q& M( g/ H* J& g json_out['return_val'] = hook(**hook_input['kwargs'])9 n" N0 g: ?; @0 P/ _2 w) q& m
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9 X+ O3 e, H0 P6 i* D; r+ s, d 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. A" B+ Q# f3 B3 ~
return hook(config_settings)
( c& R$ R6 N- ~ ^^^^^^^^^^^^^^^^^^^^^
) p* V0 t9 }+ b0 g File "/tmp/pip-build-env-useridpb/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel- c* X' ?, t+ x/ v# o8 w# P9 w
return self._get_build_requires(config_settings, requirements=[]). @ Y% }7 a8 b. V% s2 u$ C4 d
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^$ N% j J' u5 c0 V! w6 Q. H# r$ ?
File "/tmp/pip-build-env-useridpb/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires+ q9 B* |, f4 o% R
self.run_setup()' R1 s0 P4 [ k
File "/tmp/pip-build-env-useridpb/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 317, in run_setup
! h) h! i( f# m+ R1 b" x b/ o exec(code, locals()), ? h: `* @3 C6 D; m
File "<string>", line 155, in <module>
o6 }' ~% p: p$ y, X* ^& E# O File "<string>", line 49, in get_config_posix( V) n3 w* t4 {4 l, a5 K! R# s
File "<string>", line 28, in find_package_name: j- D% q% g$ V
Exception: Can not find valid pkg-config name.
! P" c+ |2 H$ E# y Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env vars manually
" X! |8 W- D/ A! L [end of output]& z4 h/ H; _! R# n% @% y) p
$ U% \" K5 q b3 A note: This error originates from a subprocess, and is likely not a problem with pip./ `" x( @" h, F. ~& ~; P
4 b0 {/ o, U0 y5 E- ^[notice] A new release of pip is available: 24.3.1 -> 25.3% N1 \- H" e9 z* ?; i8 ~
[notice] To update, run: pip install --upgrade pip6 Q: K, R+ R9 D3 _: }) a
error: subprocess-exited-with-error
, j' R% C7 X# s, W2 {( V- c& ^9 G8 K4 z/ c3 ~) W
× Getting requirements to build wheel did not run successfully.
2 d+ h/ ~ K# D- I s) P P. C N│ exit code: 1# C& S* \' }& r3 D; b
╰─> See above for output.% \7 n5 d. x# z1 k
7 y, e4 t* [: r7 P9 ~note: This error originates from a subprocess, and is likely not a problem with pip.2 v6 j* k3 Y/ ^
: M3 V$ t" G0 z
安装失败:" B$ f! P+ e& I3 V7 Q+ b
(.venv) [root@controller hcis_manager_portal]# pip install mysqlclient==2.2.4* _3 B* v3 h6 o4 O0 h
Collecting mysqlclient==2.2.4+ p! M3 L: |9 M5 v3 q7 S5 B) c
Using cached mysqlclient-2.2.4.tar.gz (90 kB)
7 ?" X$ ^" b/ T6 s& @/ f' P Installing build dependencies ... done* S. }( M% Z+ }$ Y
Getting requirements to build wheel ... error
! i. t8 g) s9 K7 [ error: subprocess-exited-with-error
- V, e$ y' t8 d$ g6 v
+ q/ s: o, s+ u5 K × Getting requirements to build wheel did not run successfully.
5 W9 G8 f/ R" B- `7 o5 ~ │ exit code: 1
9 c: Q5 A/ F& b; v ╰─> [27 lines of output]
: h8 ?7 h: m9 r# x. a% {8 W1 u2 c Trying pkg-config --exists mysqlclient7 i' W7 ^# O0 P7 s$ i5 a
Command 'pkg-config --exists mysqlclient' returned non-zero exit status 1., l2 E1 B( F9 r' p/ V. |, [
Trying pkg-config --exists mariadb4 y j4 R( A1 `1 }" m1 R
Command 'pkg-config --exists mariadb' returned non-zero exit status 1.7 H2 h Y% l! t5 O8 }) u! T! m" ?7 D# w
Trying pkg-config --exists libmariadb1 o, p2 U O! Z2 C
Command 'pkg-config --exists libmariadb' returned non-zero exit status 1.
8 \1 ?5 G/ R1 A/ o( U7 z Traceback (most recent call last):0 i6 H: k2 x7 l3 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 353, in <module>" G9 [9 N! L+ k* q
main()
/ A: R6 T; x; W+ i' 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- }+ u x4 K$ J; q; ?0 f3 l
json_out['return_val'] = hook(**hook_input['kwargs'])
+ y0 |& f2 R) c# R ^^^^^^^^^^^^^^^^^^^^^^^^^^^^' i% J- B, p$ d3 @
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
9 {3 \4 [" E* E! ^5 X return hook(config_settings)9 E1 j. M) Z1 R4 R3 B9 Q+ d; p, E
^^^^^^^^^^^^^^^^^^^^^
! M6 X; T# N/ l% N' x1 j File "/tmp/pip-build-env-qutrixi9/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel
' B9 d& `( [6 h' `* v! a' j return self._get_build_requires(config_settings, requirements=[])
5 a/ n! U' S3 y4 U ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^: H6 I1 z8 I s" d ~( j3 t. `, K6 `
File "/tmp/pip-build-env-qutrixi9/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
9 |5 L" {) h( V, W8 P self.run_setup()
' i/ T8 E3 B0 p+ Q; |) @1 H File "/tmp/pip-build-env-qutrixi9/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 317, in run_setup
5 w7 q% w) a M8 W# J exec(code, locals())
3 z8 S! S; x7 E% x% e! Z5 V File "<string>", line 155, in <module>
* b& Y9 s. l2 b/ G File "<string>", line 49, in get_config_posix& X3 v# ]6 Y' I0 r s3 i
File "<string>", line 28, in find_package_name
$ I6 p. [6 O8 A4 G" u) n! \ Exception: Can not find valid pkg-config name.
+ y' ]: R" J4 Z3 R/ T Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env vars manually
; o- V; {" ^# v [end of output]
' R5 T( S# W( b2 h2 K+ x1 @1 M6 k / @: L. u8 Y, ]* ]
note: This error originates from a subprocess, and is likely not a problem with pip.
- f6 x9 U" l4 x: j U7 c9 F' Z2 @$ D2 [0 ^& c9 L- j
[notice] A new release of pip is available: 24.3.1 -> 25.3/ V2 U- ]. [4 a* ?% U+ \
[notice] To update, run: pip install --upgrade pip4 b# m# M" V( \; c L
error: subprocess-exited-with-error8 u w2 W3 W: `! J
8 P1 M1 Y! _' f* x) ` A, S3 m× Getting requirements to build wheel did not run successfully.
t* Q& A/ T: J# ^│ exit code: 1
9 m. @( W# f2 _) t$ [1 t╰─> See above for output.
; l K% V& E% ` p; V2 t/ K, I c0 n" D) C1 Y$ T3 w8 L
note: This error originates from a subprocess, and is likely not a problem with pip.
# k- N2 Y0 [9 C$ J* _ P( [(.venv) [root@controller hcis_manager_portal]# pip install mysqlclient==2.2.4
* k) ^$ U, C3 Q1 nCollecting mysqlclient==2.2.4! z# }) s: I1 k1 c" T( q
Using cached mysqlclient-2.2.4.tar.gz (90 kB)/ ]" {) ^+ z, r$ I* z
Installing build dependencies ... done
% }- h+ _7 r" Y% l) @/ h' y% h; [& b( V Getting requirements to build wheel ... error
; ?( H" V5 y5 S/ f# s1 i error: subprocess-exited-with-error
8 T1 F9 k2 }# G( L, o0 K3 o# U
5 C9 D1 t# @& X# ~5 [4 a2 k" s! D × Getting requirements to build wheel did not run successfully.& |. F' ~8 C5 t$ q: w
│ exit code: 1) W( U6 i! M0 R2 p* o3 q
╰─> [27 lines of output]. n3 I7 Z5 d" z" G9 ]- ~
Trying pkg-config --exists mysqlclient
* z; {# r3 g$ I; P h( ? Command 'pkg-config --exists mysqlclient' returned non-zero exit status 1.0 @/ L3 \" X0 x5 r. F$ _
Trying pkg-config --exists mariadb
1 y6 b+ H) }2 Q/ j; e! g Command 'pkg-config --exists mariadb' returned non-zero exit status 1.
h0 ]) ^' R3 Z, J4 W Trying pkg-config --exists libmariadb( o9 b+ d0 B T* x
Command 'pkg-config --exists libmariadb' returned non-zero exit status 1.9 T8 X f9 R) y1 m! Q+ r. _* Y+ z
Traceback (most recent call last):/ V$ ]- u# Q" A! ?$ d7 b6 B
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>6 W, h# [) q9 l# h0 X8 b, S0 `
main()2 w0 _6 @4 y7 P3 s3 p
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
4 e7 o; J9 I8 X: }5 r json_out['return_val'] = hook(**hook_input['kwargs']) r) K& D3 N& o, i, ?1 }
^^^^^^^^^^^^^^^^^^^^^^^^^^^^7 q" |0 J1 [( K( o3 w% l
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% V' m$ ~2 @3 I0 E9 J
return hook(config_settings)
! L+ @' [ w/ k$ G3 o3 `4 n ^^^^^^^^^^^^^^^^^^^^^) r+ L; x. y+ A% Q; `+ Z1 H
File "/tmp/pip-build-env-l5wcrzu8/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel2 |1 ~" h$ g9 f' R1 _$ D
return self._get_build_requires(config_settings, requirements=[])
9 a: I; ]9 c8 j ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
& y+ e, w* w& b% s6 H; u, J9 ? File "/tmp/pip-build-env-l5wcrzu8/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
0 ^$ \& `/ P5 K2 k self.run_setup()* F# U2 T0 v* U4 c4 j' h
File "/tmp/pip-build-env-l5wcrzu8/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 317, in run_setup
1 P P7 H* F) T: f' F exec(code, locals()). p2 _; t* C R; e
File "<string>", line 155, in <module>' z* u: @) V" C2 Z
File "<string>", line 49, in get_config_posix ^% v+ ^2 m d$ r4 x, ^
File "<string>", line 28, in find_package_name
2 L) H. K& x0 z1 B* } Q Exception: Can not find valid pkg-config name.
+ a& S9 m3 k, z& I' H Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env vars manually4 L9 W9 b2 u+ u
[end of output]
$ @: p# i6 a `$ Q( P y* o% Y) {
3 z/ U& G# A; g7 N# O8 ? note: This error originates from a subprocess, and is likely not a problem with pip.& m- e* ] S/ I9 s+ b9 `
. M$ M( G/ Y d
[notice] A new release of pip is available: 24.3.1 -> 25.3
0 b$ E; Z: b0 X! S W[notice] To update, run: pip install --upgrade pip8 X: g% Y7 S. h `. q
error: subprocess-exited-with-error
" p0 I4 t7 k7 Q1 X* z
. G! }5 j! i. T4 p9 ?× Getting requirements to build wheel did not run successfully.
! H, l3 N; R) P; C' S! p: U0 V│ exit code: 1
; G9 E' } u- E M╰─> See above for output.% l% ]# T/ L# P3 E) \
' p& y$ m$ F9 f& F* |note: This error originates from a subprocess, and is likely not a problem with pip.
# z/ `# j0 a v/ U C/ W
& x% W( ], V$ p$ K1 a升级pip组件:
. X3 @: c: ~7 d3 z) A( C7 ~ o* y' G) @7 {! V; J* W9 e; e4 U% d' O
(.venv) [root@controller hcis_manager_portal]# pip install --upgrade pip==25.0.01 o0 u6 T3 t$ V& Q
Collecting pip==25.0.0/ e) y7 Z2 _+ o- t
Downloading pip-25.0-py3-none-any.whl.metadata (3.7 kB)
9 [; f: G+ U t2 H: k4 T: T& ~Downloading pip-25.0-py3-none-any.whl (1.8 MB)
. A; }8 G! K* d( U+ m: c" Z4 V3 G& O( i ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 30.2 kB/s eta 0:00:00# y4 Z! Q" _. p1 V" Y% S A
Installing collected packages: pip
! ]5 n, O J/ h; J Attempting uninstall: pip' d' s$ d* K. Q! b6 W$ W7 d' d) Y% V
Found existing installation: pip 24.3.1
6 s& e+ B9 y$ _ Uninstalling pip-24.3.1:/ M7 J- }/ }5 U; M
Successfully uninstalled pip-24.3.1, t) ?6 _; u! @/ d6 y
Successfully installed pip-25.0# w5 \) H) m8 {6 Q- ?7 D* I
2 h2 W( B9 ]" \0 C) N[notice] A new release of pip is available: 25.0 -> 25.3. T- I; r$ D, b+ h' E
[notice] To update, run: pip install --upgrade pip$ a6 F, ]# U; h/ H
(.venv) [root@controller hcis_manager_portal]# pip install mysqlclient==2.2.4: L" @; u: U7 K0 W O
Collecting mysqlclient==2.2.4
+ }6 V. s8 V1 O( V Using cached mysqlclient-2.2.4.tar.gz (90 kB)
0 _2 F( O D! Y; _ Installing build dependencies ... done; V9 j! K! k/ N
Getting requirements to build wheel ... error! v9 W" a8 y! h/ N
error: subprocess-exited-with-error
: n$ w- g3 Y) \' J) `! _+ |1 u5 U
% D3 L' H, i: c$ V/ s E × Getting requirements to build wheel did not run successfully.4 w J" R, O. Q9 ~! H/ b' i+ j
│ exit code: 19 w4 n7 M7 [$ h5 M3 x
╰─> [27 lines of output]
) Z8 A6 i6 J$ r Trying pkg-config --exists mysqlclient
Z: `1 z$ j* J+ \ Command 'pkg-config --exists mysqlclient' returned non-zero exit status 1.
# ^# ^# |7 B1 Z% s Trying pkg-config --exists mariadb# J g: `- ?( K7 E) b" A
Command 'pkg-config --exists mariadb' returned non-zero exit status 1.2 d. ^- `4 V a
Trying pkg-config --exists libmariadb
& s6 i9 b3 b- Z. a% ?+ y1 o Command 'pkg-config --exists libmariadb' returned non-zero exit status 1.
4 x) n: U8 C" |" e Traceback (most recent call last):
: @( @! o. h8 p4 Q, i9 U* I% y 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>! g+ \5 ]& Q+ e" ~& u9 T
main()
0 L$ V/ Z9 t2 \ |* ` 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! y+ i( K: X; R$ f! _" E
json_out["return_val"] = hook(**hook_input["kwargs"])
: {2 o, A/ }, i4 ?( o/ Y ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
H& O# Z! b/ X2 b* `1 k1 v6 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 143, in get_requires_for_build_wheel
% f: d9 c; r- x7 x5 ^0 j return hook(config_settings)
3 p& T& F. o G* N6 K, o$ T' w ^^^^^^^^^^^^^^^^^^^^^, u8 h/ G+ o7 v( X$ R
File "/tmp/pip-build-env-i0x30et5/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel! Y3 q* X y( ?+ p7 ?) R" V
return self._get_build_requires(config_settings, requirements=[])
# d4 q g6 Z& `( g ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
" w" S+ Q: X5 _% U. a0 I) d# p6 S File "/tmp/pip-build-env-i0x30et5/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires- a+ ~$ |7 ?& b' @' |: M" C! |
self.run_setup()
# j+ t8 r" E5 ~ File "/tmp/pip-build-env-i0x30et5/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 317, in run_setup
# ~- @: g* D( y0 {$ c/ T; J exec(code, locals())' M" d, M9 _ Q" R9 @
File "<string>", line 155, in <module>
) O# `: `( _2 \- Z; z; e, n File "<string>", line 49, in get_config_posix
' Z* J G$ L7 y0 } File "<string>", line 28, in find_package_name2 a2 b& F: j4 i1 }; Z
Exception: Can not find valid pkg-config name.
5 E' f' Z' f/ A; s% _* h3 S Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env vars manually; H8 K. R6 R. `: A% O
[end of output]' p8 B! }$ n1 l ]" o2 M; D
3 I" d+ P: a) K
note: This error originates from a subprocess, and is likely not a problem with pip.
1 C9 X; k& y% K. p9 h
3 Q6 ?3 y' e0 ?# ~[notice] A new release of pip is available: 25.0 -> 25.3
; Q: x( R, P# A5 D, C+ Z[notice] To update, run: pip install --upgrade pip
9 ^& ?! h+ [2 C3 w5 t3 N# A( Nerror: subprocess-exited-with-error$ G6 x6 h9 k& l# g3 V% f. `
5 H: t% t3 H# ]' o8 ^7 S7 S; z
× Getting requirements to build wheel did not run successfully.
6 c8 |% Y2 t# Y% ?│ exit code: 1
3 c" ?! ?' Z- I) P╰─> See above for output.' B+ b) x# G* c* [0 x0 n) g3 R
+ U' Z# ]5 A1 h7 u9 w2 r& {9 ~ q5 Onote: This error originates from a subprocess, and is likely not a problem with pip., ^' }" o/ z/ Z* A
(.venv) [root@controller hcis_manager_portal]# 7 H) W$ [: J) t2 X; e% ~& J7 N
(.venv) [root@controller hcis_manager_portal]#
8 ~7 g8 M/ M8 r! @& @4 B- _( h! s(.venv) [root@controller hcis_manager_portal]#
I& c, p ` u* H8 x(.venv) [root@controller hcis_manager_portal]#
% W! m' A9 V- p* D5 I; B- U+ B
9 b& J' N6 ^! ]# h; q- `- P8 n 安装相关组件包:
, ^" }4 I( b8 Q$ n+ ~/ w(.venv) [root@controller hcis_manager_portal]# dnf install -y gcc python3-devel mariadb-connector-c-devel pkg-config . M# G3 C4 f# z$ R8 M8 i3 C; b
Last metadata expiration check: 0:05:33 ago on Thu 08 Jan 2026 09:43:40 AM CST.2 X6 E$ y& Q X6 D B% W/ V0 [. ~
Package gcc-12.3.1-81.oe2503.x86_64 is already installed., O' |2 n+ ~) Q/ g
Package pkgconf-2.3.0-1.oe2503.x86_64 is already installed." K/ ~# V4 k) b) P! Y
Dependencies resolved.
' g# S1 L- R( f! _* I2 i; D) ?==================================================================================================================================================================
: B. Z* s$ @9 b' U) u$ V+ ` Package Architecture Version Repository Size
9 m4 g2 Y8 m- R' `( ~==================================================================================================================================================================# z/ n N# J) P! b& x
Installing:. }1 ]& H4 X/ S$ O6 _5 j; a+ o
mariadb-connector-c-devel x86_64 3.4.3-1.oe2503 OS 146 k0 a* B5 ?& U6 B( R$ L: m
python3-devel x86_64 3.11.11-3.oe2503 OS 17 M
I" J1 j* I- m' H& w/ pInstalling dependencies:9 h; G1 V( F, Z
python3-rpm-generators noarch 9-5.oe2503 OS 21 k
4 h- A, |3 i) Q" A
- V; r7 }1 {5 s8 N. W- Q, e7 c# G# PTransaction Summary$ m( P4 `+ Z5 V+ T5 u8 W# |
==================================================================================================================================================================
+ \$ ^4 F3 I+ RInstall 3 Packages
. j/ S& U# B- y% x3 c- E% Q3 P6 D" @' |. F* O3 K+ [5 Z
Total size: 17 M- v# H+ l" v/ t6 w& C! M* S
Total download size: 146 k
* t$ U# V. m* x SInstalled size: 106 M
: h T$ T& M, B3 g0 n8 FDownloading Packages:
" F3 S5 J5 y6 ^' G[SKIPPED] python3-devel-3.11.11-3.oe2503.x86_64.rpm: Already downloaded . U3 x* o) u! U2 [8 E
[SKIPPED] python3-rpm-generators-9-5.oe2503.noarch.rpm: Already downloaded
5 A: P* `4 B+ y7 B(3/3): mariadb-connector-c-devel-3.4.3-1.oe2503.x86_64.rpm 268 kB/s | 146 kB 00:00
8 L, c$ Y3 f2 \/ p$ Z$ W% I2 J------------------------------------------------------------------------------------------------------------------------------------------------------------------. v: H7 A5 X/ ]9 a: @" N
Total 190 kB/s | 146 kB 00:00 9 a: @' W, |3 h8 ~' n
Running transaction check
# y- q* d* y3 T) W. mTransaction check succeeded.
$ I& M) V0 Y3 y5 yRunning transaction test; o* d& {4 |4 Y0 v9 f6 V- Y4 u
Transaction test succeeded.
1 T% M4 u, d6 G1 J+ ] bRunning transaction
3 Z2 |% D, z8 ]% d) q5 P0 k Preparing : 1/1
. Z# H: \* M. R7 ^ Installing : python3-rpm-generators-9-5.oe2503.noarch 1/3
/ C+ G) i) A$ P( p+ ^$ R# l Installing : python3-devel-3.11.11-3.oe2503.x86_64 2/3 ( d) a5 L" T% k( Z# f% x2 A
Installing : mariadb-connector-c-devel-3.4.3-1.oe2503.x86_64 3/3
& h4 e% |. A0 U6 k3 m* `9 L3 j3 | Running scriptlet: mariadb-connector-c-devel-3.4.3-1.oe2503.x86_64 3/3
# }/ M' H0 E$ c& q- V+ x9 s6 ` Verifying : mariadb-connector-c-devel-3.4.3-1.oe2503.x86_64 1/3
: d% q$ P2 ?3 n% @' ^, ~, H3 Y Verifying : python3-devel-3.11.11-3.oe2503.x86_64 2/3
4 T& ` @ A! H3 l Verifying : python3-rpm-generators-9-5.oe2503.noarch 3/3 5 E' |' E# {$ ^ L, Y: q M( u
+ l' x- K9 B5 ]9 r! lInstalled:
) r4 d: Z2 l8 F" x- {2 A 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 ' n- B& q7 q7 o3 }1 f- M
) b1 M) L+ I: r4 c) J2 F ?/ {4 W
Complete!
# B; ^) W4 L2 _; r& }4 f& P3 E* z7 d+ l
再次安装:
2 t" o$ E- Z, {(.venv) [root@controller hcis_manager_portal]# pip install mysqlclient==2.2.4
- w: P$ \ Z# U; |9 O& [Collecting mysqlclient==2.2.4
6 V0 e; B0 i, t) b Using cached mysqlclient-2.2.4.tar.gz (90 kB)* p: W5 J, ^/ q# b8 j
Installing build dependencies ... done$ Z9 s# K; h* [: {: S2 w( \; `
Getting requirements to build wheel ... done) q- C Y' n3 X
Preparing metadata (pyproject.toml) ... done/ M) q* w9 d% I" U9 s9 a1 W
Building wheels for collected packages: mysqlclient
* H; G5 ?1 ]- W6 a% \& b Building wheel for mysqlclient (pyproject.toml) ... done/ L2 J( ?3 `" ]: y& `
Created wheel for mysqlclient: filename=mysqlclient-2.2.4-cp311-cp311-linux_x86_64.whl size=79781 sha256=f28c5635af2009e45164e218fa8bb37b32ba06d451dd9a08766a7e91c1c4252b' R5 O9 w3 p+ E3 e! t- i# L4 X" v
Stored in directory: /root/.cache/pip/wheels/1e/2f/4c/0bd8be7e2f3255f9436ce68bb1c2563661e8b7bbd49dcff0e0
0 o, b: w5 y1 S# |; ZSuccessfully built mysqlclient
; F! t9 n. ]/ E4 V; V7 CInstalling collected packages: mysqlclient
; B+ c9 p: G _% f Attempting uninstall: mysqlclient
- e( I4 N0 I0 x3 i Found existing installation: mysqlclient 2.2.0, @5 s4 S3 r1 a, Y2 n6 v" k1 Q
Uninstalling mysqlclient-2.2.0:
! l/ p' Y9 Q- R8 @$ L Successfully uninstalled mysqlclient-2.2.0
' S/ I( o5 U( S8 q. }' MSuccessfully installed mysqlclient-2.2.47 P! H; I' d6 N* ^% x& G3 U. \
7 k# U o7 \! i! p2 |
[notice] A new release of pip is available: 25.0 -> 25.3
) @; _& ^3 r! b6 ~$ c( s& H[notice] To update, run: pip install --upgrade pip
% X& q$ t- V, s, h& V: I# X: k
1 y) E" t; M& ]4 I( Z成功安装。: {; I, ?" k* }3 u3 v
1 y+ E r6 |* t/ u' N5 Z4 @(.venv) [root@controller hcis_manager_portal]# pip install mysqlclient==2.2.6/ z, a3 p3 ]/ U) ^7 S$ v
Collecting mysqlclient==2.2.6 N" m. {* n- c0 [
Using cached mysqlclient-2.2.6.tar.gz (91 kB)7 p n5 `" ~5 z: @+ B+ z
Installing build dependencies ... done
% i0 R( m8 P( i, F! \% L4 Y4 m; i8 n Getting requirements to build wheel ... done, ~$ X- s% u+ U* H1 R2 R
Preparing metadata (pyproject.toml) ... done0 n6 B7 r' V9 d" K8 p( W
Building wheels for collected packages: mysqlclient
3 L# S" C [9 d9 V6 _# W Building wheel for mysqlclient (pyproject.toml) ... done8 R1 T! {: \7 s
Created wheel for mysqlclient: filename=mysqlclient-2.2.6-cp311-cp311-linux_x86_64.whl size=80153 sha256=d3621a4c2733d18e78583c9a0558c81a653db240080c03deae38e2d7fa8bbe7b
& G: Z0 I- |& r9 W( ?$ E Stored in directory: /root/.cache/pip/wheels/7f/f3/9e/f1b8d41481e49d3d5381db6846c88637d253014786c15eb299
& g1 C- A$ A0 n1 A3 U* ^Successfully built mysqlclient' P9 g1 Q! O7 Q" j @
Installing collected packages: mysqlclient; Q' m6 ^# t1 a! [( X' z) p
Attempting uninstall: mysqlclient
3 k6 W. A7 W& r6 g# k, A Found existing installation: mysqlclient 2.2.45 E2 D+ I, H4 \, f0 Y" ~
Uninstalling mysqlclient-2.2.4:
6 j! E- K& p. t2 a Successfully uninstalled mysqlclient-2.2.4; t$ e4 W/ T' o" M9 D: J" o
Successfully installed mysqlclient-2.2.6
& u- [% E, B' E* |: z [! ~: ]2 l* N$ w9 G( w7 R
[notice] A new release of pip is available: 25.0 -> 25.3, h3 z' f; @; h# `) Z3 f m. k
[notice] To update, run: pip install --upgrade pip7 |' j$ L$ f! M$ S% ^$ S6 P
: Y: |) ]- c( U- m$ \8 I! s
' A5 q) v' N& d# \% _# h6 y
成功升级。+ ^: S7 u/ s- k! d' _ H* ]* V
完成安装。
7 [- E- ]+ Q) }/ R) J- b |
|