|
|
(.venv) [root@controller hcis_manager_portal]# pip install mysqlclient==2.2.6
: U% @# K5 W: J3 O6 Q. a: xCollecting mysqlclient==2.2.68 f! k/ `% s, S: n% _2 N+ b
Using cached mysqlclient-2.2.6.tar.gz (91 kB)
+ N' I& A! }- l! D% a' h Installing build dependencies ... done
- A, m) a% S9 Q7 f; U Getting requirements to build wheel ... error `# z: Z$ y% s. b8 P+ E
error: subprocess-exited-with-error
/ u7 i7 d* P/ [% D! D* h* G
6 H$ ?- ^1 j6 l × Getting requirements to build wheel did not run successfully.* a2 L. u# p7 T5 F( m; Z5 R2 O* w
│ exit code: 1
) x5 z7 K X$ I, y3 {7 J ╰─> [29 lines of output]; r+ V+ J8 k& S2 U* e( y
Trying pkg-config --exists mysqlclient
' F1 p, o, g) n6 E: T: w2 n Command 'pkg-config --exists mysqlclient' returned non-zero exit status 1.
+ ^3 R6 a6 y' r0 ^2 N# g Trying pkg-config --exists mariadb
f! x% @" ?$ L) V/ j# _ Command 'pkg-config --exists mariadb' returned non-zero exit status 1.3 g) H) r& R% {
Trying pkg-config --exists libmariadb
5 k0 d* P0 @' Z2 q% { H5 I* y Command 'pkg-config --exists libmariadb' returned non-zero exit status 1.
# N+ E* R+ A' { Trying pkg-config --exists perconaserverclient
& L" ]: `; G: |9 p0 l/ v6 c0 y Command 'pkg-config --exists perconaserverclient' returned non-zero exit status 1.2 Z3 ^ q! i# J& {
Traceback (most recent call last):
; @6 M' l3 S7 ]4 F- I 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 \% @4 s5 O% a2 N1 H: F4 M7 v main()1 ^( W! j& a/ Z# Y* 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 335, in main
+ D) d- o" o3 F+ a5 a6 d json_out['return_val'] = hook(**hook_input['kwargs']) [* E- E, O7 f- g5 O
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# e f) }7 E3 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 118, in get_requires_for_build_wheel: {8 U! l: u4 A7 ]8 E
return hook(config_settings)
: T" {# N$ O" j- }; p" S ^^^^^^^^^^^^^^^^^^^^^; D [3 ~5 i0 Z' D: b, g1 P# [
File "/tmp/pip-build-env-useridpb/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel
0 k; t: o2 k) v return self._get_build_requires(config_settings, requirements=[])
( q7 H# r) p. H4 |! f+ j ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
) K9 S' O8 r% [1 }; O; l# e7 q File "/tmp/pip-build-env-useridpb/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
! C/ g% N0 F. z' ?- { self.run_setup()/ Y0 i4 d8 ~6 T4 y! e
File "/tmp/pip-build-env-useridpb/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 317, in run_setup0 ]* B, T: C, ]2 B9 Y+ D; L
exec(code, locals())
8 |0 g3 Q+ o6 v, k File "<string>", line 155, in <module>
" { U% a, ^1 m- Q File "<string>", line 49, in get_config_posix
: G! v5 A# j9 }' {! G2 b9 |0 R File "<string>", line 28, in find_package_name- ]) u2 n2 A; z7 e$ v
Exception: Can not find valid pkg-config name.) h2 \% M( P4 [% t3 x- l; A' t. E
Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env vars manually
9 K% }5 u$ m5 A+ A7 I9 p, a+ z9 ] [end of output]
3 ^4 K9 e3 L" {5 |8 l
6 y6 Q0 X) h9 v, v$ l+ ` note: This error originates from a subprocess, and is likely not a problem with pip.. G. E. |4 X* E8 h) Z3 j* O
$ [0 l0 w* M" b8 N/ E) U6 ~ V$ l
[notice] A new release of pip is available: 24.3.1 -> 25.3! n M( K# {- P2 X6 i
[notice] To update, run: pip install --upgrade pip$ F; p2 S) i4 z3 l$ U: k( N; W$ M
error: subprocess-exited-with-error U" f/ V/ G% x/ v/ S+ u' l, \
+ i# x7 J- |7 [8 U& F
× Getting requirements to build wheel did not run successfully.7 z1 r. C7 s. \* h/ d/ F5 R
│ exit code: 1 x: ]9 }. u/ F% \/ `
╰─> See above for output.* P( C- I7 F8 P; n2 E+ E
/ `& L( b1 Y4 `note: This error originates from a subprocess, and is likely not a problem with pip.
! }& {' d. f' b+ p
/ _# \3 U5 g3 p K% G( y8 J安装失败:
8 F( X6 b4 P0 F& I(.venv) [root@controller hcis_manager_portal]# pip install mysqlclient==2.2.4! ~" `# O' L2 F, ?: L/ b
Collecting mysqlclient==2.2.4
2 A- Z; o! a3 q! X( J; M Using cached mysqlclient-2.2.4.tar.gz (90 kB)
+ E) A) g. f; [+ y7 ~' P) T6 D, j) c Installing build dependencies ... done7 ]3 w, B, R! B B% c1 B ~3 l
Getting requirements to build wheel ... error) d: z1 R/ A/ d0 L
error: subprocess-exited-with-error8 w7 k, t0 O' f# z
" X3 R0 l! a4 J4 w) B! f5 v2 j7 v) Q × Getting requirements to build wheel did not run successfully.5 n* z/ }& C/ p* g/ u
│ exit code: 17 Q1 {. r1 E& k/ [' w ~
╰─> [27 lines of output]
+ m3 g! B2 v0 ?8 t2 M) v& F Trying pkg-config --exists mysqlclient3 X6 t% h0 N! d6 S
Command 'pkg-config --exists mysqlclient' returned non-zero exit status 1.
q( {0 C: R2 i; J3 {( V Trying pkg-config --exists mariadb! d( w! A& K- g- {% B
Command 'pkg-config --exists mariadb' returned non-zero exit status 1.
9 z$ b1 T7 ~: ]$ ? Trying pkg-config --exists libmariadb
: l& e& n$ i8 ^9 S Command 'pkg-config --exists libmariadb' returned non-zero exit status 1.
1 x7 ?- h0 C- {% c4 B8 \; q" v Traceback (most recent call last):, A$ K5 O/ M7 `7 ^. \3 h( Y2 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 353, in <module>; u7 m9 ~$ `% s4 }( C6 X( _
main()* Y1 @3 [' Z7 X5 ]
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
0 C$ h+ I) M& v" n* [ json_out['return_val'] = hook(**hook_input['kwargs'])7 }6 E9 l$ D$ k3 H/ H
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 Y) e, m/ a; n/ r 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_wheel9 x6 A' o8 `5 h2 O* {5 N9 S) ^
return hook(config_settings); s1 B. b5 W x2 e$ ]. Z, h
^^^^^^^^^^^^^^^^^^^^^" i" Z; O9 a6 C; d& L
File "/tmp/pip-build-env-qutrixi9/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel! m' n6 F6 ~* z7 ?* U
return self._get_build_requires(config_settings, requirements=[]) X! a) B7 ^. K
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' {" Q* `* c! X) _' [. P6 m
File "/tmp/pip-build-env-qutrixi9/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
% M5 t( j( o1 C3 @/ g* E4 f+ ^9 t self.run_setup()
! y2 `, e! O, u' r* s( S1 } File "/tmp/pip-build-env-qutrixi9/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 317, in run_setup+ k% |* B# g# t% k3 B
exec(code, locals()). W& n2 f7 y& s; F. k
File "<string>", line 155, in <module>/ J: t6 O+ @9 d- l9 u) o
File "<string>", line 49, in get_config_posix
" M) d* g) V+ e# Z: e! C% l File "<string>", line 28, in find_package_name/ s: ?! K3 H+ d# ^6 E* p- m4 Q( w! M
Exception: Can not find valid pkg-config name.
9 O$ i7 S! _, T3 C4 _; c- D/ x Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env vars manually6 R8 w2 |% ^+ V, Q
[end of output]
; a# d! w" k: s ; |: L0 ]& S3 H. \& m5 }4 h
note: This error originates from a subprocess, and is likely not a problem with pip.- D% Q! i& ?( Q( [$ A
3 V) |" g' e4 u; R {
[notice] A new release of pip is available: 24.3.1 -> 25.3
' Q3 Y) I9 V3 w[notice] To update, run: pip install --upgrade pip
% L6 I7 H; Z+ m, Z& L3 Jerror: subprocess-exited-with-error
0 A/ q& F8 j6 M' |5 v! k4 B! W$ d2 m8 z+ W) }
× Getting requirements to build wheel did not run successfully.. }5 ~0 i4 O% x. \* V2 s
│ exit code: 1. w/ d2 Q/ ?9 U6 p/ V
╰─> See above for output.
! [( h) N" h8 S: D* r6 x' |' N* [8 L# M, I" ^/ s- E, t
note: This error originates from a subprocess, and is likely not a problem with pip.( N/ x. N# R! z5 N$ h
(.venv) [root@controller hcis_manager_portal]# pip install mysqlclient==2.2.4& n' |6 K8 H& g8 q: e( l) b
Collecting mysqlclient==2.2.4
- W" V4 {/ b, k) h1 M Using cached mysqlclient-2.2.4.tar.gz (90 kB)9 ?( i/ k: B. F: e
Installing build dependencies ... done0 g# V f6 h3 K( _5 Z
Getting requirements to build wheel ... error& I+ [0 _# h @) s
error: subprocess-exited-with-error# d7 V6 L4 L+ u+ `# J. ^8 r I
# J& b& V0 n( c. A4 y × Getting requirements to build wheel did not run successfully.
* g& D. o k. f: p+ g │ exit code: 1
x6 }3 F: D% ^* n; M ╰─> [27 lines of output]
4 N% z1 F- R" @: [; h' B Trying pkg-config --exists mysqlclient
6 L4 X/ h& b; t: h3 X# s. W4 O Command 'pkg-config --exists mysqlclient' returned non-zero exit status 1.
% W% @( W, F4 \2 M4 O Trying pkg-config --exists mariadb4 [4 x" y3 K% T$ k
Command 'pkg-config --exists mariadb' returned non-zero exit status 1.
( q# T( R3 w4 u4 h% a Trying pkg-config --exists libmariadb h3 `; i$ J4 R3 w8 f2 x8 |
Command 'pkg-config --exists libmariadb' returned non-zero exit status 1.1 t: Q8 `5 G2 H0 ~7 j2 J/ d
Traceback (most recent call last):
' j! K* k5 u- n; x" K+ 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>) W% S S* m t; i3 d6 ~+ m
main()
3 l$ E3 S/ s( {6 G6 F9 Y# G6 G) 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 335, in main
6 _# H* ?4 i; S+ T json_out['return_val'] = hook(**hook_input['kwargs'])
! I A& J" n* v9 Q p2 v3 i* j8 T6 N ^^^^^^^^^^^^^^^^^^^^^^^^^^^^: t' R2 |- _9 m. K! 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 118, in get_requires_for_build_wheel! ?+ z# c, L" h) r
return hook(config_settings)
7 x: N! w: Z* x/ u( } ^^^^^^^^^^^^^^^^^^^^^
/ t! O$ X+ ]; Y/ Z File "/tmp/pip-build-env-l5wcrzu8/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel
! C8 Z/ z0 O& ~$ t! a return self._get_build_requires(config_settings, requirements=[])! m1 [' @- m% z
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^* `4 j2 N4 [5 _( Z: R( ?( J
File "/tmp/pip-build-env-l5wcrzu8/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
$ J3 [% D' D) i) A' m j2 N7 ?. ~: ` self.run_setup()5 i3 q, I8 C! i. r
File "/tmp/pip-build-env-l5wcrzu8/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 317, in run_setup
# O7 K2 X H2 n) d+ q exec(code, locals())5 @3 a S& L/ M6 e, M
File "<string>", line 155, in <module>
, N l5 k. m2 F& g4 p! l- x$ M; Y) h# k File "<string>", line 49, in get_config_posix" g' s C" v" R6 F! e
File "<string>", line 28, in find_package_name4 w9 S2 `( |0 K( h6 b
Exception: Can not find valid pkg-config name., z/ V6 C' S* M& P
Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env vars manually
! Q; m0 Y8 |* k; j [end of output]: N% ~* }$ p M/ Z% z8 h. }
3 S6 p5 }3 b1 k; A note: This error originates from a subprocess, and is likely not a problem with pip.- f) ? a3 @8 I# S: e; o; q
M7 p i8 z) A3 p( I' f* c# q5 {1 ~& _
[notice] A new release of pip is available: 24.3.1 -> 25.3
. ^: g& }9 @# C) E% J[notice] To update, run: pip install --upgrade pip
4 \( v* {( _3 z6 derror: subprocess-exited-with-error
+ ?6 l/ J* l- p6 w1 e* \2 d$ ]
4 N! j& E- C5 I0 Z× Getting requirements to build wheel did not run successfully.
. |' ~& F3 i9 ^1 j│ exit code: 1
6 G8 ^ ^: `2 ^8 |7 R: l╰─> See above for output.
( q; c, A+ R8 U' i, H! ^
9 C- h" n2 V3 ~note: This error originates from a subprocess, and is likely not a problem with pip.
7 @- ]) O5 m8 ?0 _' o$ E) y7 K5 `- f9 t" T
升级pip组件:" J" E8 O, U* m7 U9 q5 i* N
) N' m8 M' E- c) o(.venv) [root@controller hcis_manager_portal]# pip install --upgrade pip==25.0.02 \2 L9 c3 s! P8 |* i
Collecting pip==25.0.03 [' n% }- P. z9 i* w! L" B
Downloading pip-25.0-py3-none-any.whl.metadata (3.7 kB)
6 T$ [5 { ?; T4 ADownloading pip-25.0-py3-none-any.whl (1.8 MB)( R) w/ t, Q) K- q+ B
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 30.2 kB/s eta 0:00:00. A4 n3 a" W2 W& m( ?
Installing collected packages: pip
5 u! Y, K" M% }2 } Attempting uninstall: pip
& M r; Q8 B1 V' k$ B' s, e$ x Found existing installation: pip 24.3.1
4 I# q0 k7 f' `& @$ |4 S Uninstalling pip-24.3.1:, x2 _' s4 o7 B. V; e/ T
Successfully uninstalled pip-24.3.1. q, q9 o) k) T
Successfully installed pip-25.0- S9 E; } a |' W, D d( d2 {$ n; q
' n$ l: N1 k7 G8 }; b
[notice] A new release of pip is available: 25.0 -> 25.3
( [9 W$ a1 s+ h* \5 A% l[notice] To update, run: pip install --upgrade pip4 b, A, l$ z2 ]5 |/ q+ E
(.venv) [root@controller hcis_manager_portal]# pip install mysqlclient==2.2.4- _3 S% ^- ]1 I* b" _
Collecting mysqlclient==2.2.4
: h" V. D' t8 z Using cached mysqlclient-2.2.4.tar.gz (90 kB)! [& H% M" y" C$ S9 {* ]
Installing build dependencies ... done
2 y! J8 F; d; n- w1 m$ Z; e Getting requirements to build wheel ... error" T; F3 W6 i# n6 U* O
error: subprocess-exited-with-error* H. Y; b! g' v4 @
! [& y- i1 }. K W × Getting requirements to build wheel did not run successfully.
9 A, v/ l, ?" N }/ } m- N3 `+ @ │ exit code: 17 }6 j2 I, s0 n( Y I# g
╰─> [27 lines of output]5 Z) d4 K- p# w
Trying pkg-config --exists mysqlclient" C* d7 f% m y4 s* d( ^+ @4 A
Command 'pkg-config --exists mysqlclient' returned non-zero exit status 1.
7 g6 }+ _! F3 s( ~8 d Trying pkg-config --exists mariadb
- W: F% i) i7 a0 u8 W: }$ T' D Command 'pkg-config --exists mariadb' returned non-zero exit status 1.. z) t" I' l8 P0 i! B" I9 p3 Z
Trying pkg-config --exists libmariadb9 S, W# I5 N% x
Command 'pkg-config --exists libmariadb' returned non-zero exit status 1.7 V! r4 a8 n% Z
Traceback (most recent call last):% U9 ^4 x0 x- H# H, Z |/ E8 h5 H8 [
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>
' ^2 y( l. ]' e6 v8 B9 {7 E main(): [- j# }) l6 q' O' 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 373, in main7 R9 S. G0 A U/ |) T- o
json_out["return_val"] = hook(**hook_input["kwargs"])* q& H1 s3 ?5 k3 T* O
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4 t" o. y6 A; w1 s9 Q2 n3 i 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
2 M7 M6 D5 m5 P$ G return hook(config_settings)
7 F( f5 _; d9 b6 k0 P ^^^^^^^^^^^^^^^^^^^^^
7 `( F4 [. @% s# E File "/tmp/pip-build-env-i0x30et5/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel/ R& W, M8 c4 `% t! `4 t% `3 w7 |
return self._get_build_requires(config_settings, requirements=[])( I' i' |6 S6 d
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5 }* t* B- H, V* L+ a4 j% J File "/tmp/pip-build-env-i0x30et5/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires; d" p9 E( J/ S T) r" [/ y1 s$ C3 s5 T
self.run_setup()
& D2 x0 r3 y% |1 b4 {& Z( } File "/tmp/pip-build-env-i0x30et5/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 317, in run_setup
2 c ?* W# q/ l$ f exec(code, locals())% H" L0 v/ h$ P/ o5 U
File "<string>", line 155, in <module>
G% a/ h2 P5 L; \3 E" Z File "<string>", line 49, in get_config_posix
6 k) g( N! E, Q File "<string>", line 28, in find_package_name: b2 I0 Q+ Z+ u! A
Exception: Can not find valid pkg-config name.
3 p6 L" b; { n5 z$ ^8 P; R8 U3 p% h Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env vars manually) |0 w1 ^4 h% ?, M6 A# F4 M& H
[end of output]
6 |$ k* t( F8 R7 C
& r* I! A" w% D/ ^8 N note: This error originates from a subprocess, and is likely not a problem with pip.
* ]$ N) `4 a3 t1 A* L- `/ V5 q3 H) h0 W' n0 a
[notice] A new release of pip is available: 25.0 -> 25.3
7 a- W* l0 U9 X+ ^[notice] To update, run: pip install --upgrade pip
) @- X$ n; Q7 U, `8 s$ H9 serror: subprocess-exited-with-error2 [$ u7 N$ \. D' u/ j
9 K! F2 n" V! _3 ^5 t1 k( X× Getting requirements to build wheel did not run successfully.5 K( Z5 y, S2 Y8 [9 x
│ exit code: 1
2 K! M3 V5 s( |6 N& R6 ]: O╰─> See above for output.$ S3 G4 Q8 Z! k' b4 i* t
1 K- _7 |$ _* ~1 {) _1 w# U% y
note: This error originates from a subprocess, and is likely not a problem with pip.
# t; E1 l8 s% ^2 w/ C* i8 t# J(.venv) [root@controller hcis_manager_portal]#
- x* e0 I" Y4 X, s5 K5 m# e9 F$ I(.venv) [root@controller hcis_manager_portal]#
- p( `% [* U& q$ T(.venv) [root@controller hcis_manager_portal]#
- z2 _$ Q4 w/ Q4 t0 e* w- t(.venv) [root@controller hcis_manager_portal]#
/ q0 m4 F4 O3 \6 X% n- J7 I! o; g( N0 G' ?& o3 {. `1 B
安装相关组件包:# e! f1 o, e, h5 N
(.venv) [root@controller hcis_manager_portal]# dnf install -y gcc python3-devel mariadb-connector-c-devel pkg-config 9 y1 V/ N, a$ l; K
Last metadata expiration check: 0:05:33 ago on Thu 08 Jan 2026 09:43:40 AM CST.
, {/ H* M- u8 sPackage gcc-12.3.1-81.oe2503.x86_64 is already installed.& L, F- [# i+ H" }: Q2 b: E
Package pkgconf-2.3.0-1.oe2503.x86_64 is already installed.
. W) j" H# V) {& L* d' O7 o3 Y& lDependencies resolved.
* {& V( |1 F, ~; A: G==================================================================================================================================================================5 R5 K. o* j- P( ~& x1 ?
Package Architecture Version Repository Size
0 s. G5 C; M: F" w8 l==================================================================================================================================================================3 |5 v. _4 G+ J( e; |. [) m
Installing:1 {. c3 Y# t L) `5 a# I8 l
mariadb-connector-c-devel x86_64 3.4.3-1.oe2503 OS 146 k
: s, ]6 ~. G1 L' I' ~1 v python3-devel x86_64 3.11.11-3.oe2503 OS 17 M
1 N6 N2 B' P8 rInstalling dependencies:
* r5 r& w2 R- O; ?. r python3-rpm-generators noarch 9-5.oe2503 OS 21 k( _" W* h+ l) I4 I
# ^) u6 I c; F" O2 YTransaction Summary
) B3 Z2 h: K) [6 K9 d==================================================================================================================================================================
; b# R4 ?0 p! X4 i$ E/ e) E' ^* XInstall 3 Packages" P: ?3 ^4 m' W6 j
# Z: t- E% b% }- i" O& c- GTotal size: 17 M
' z9 Y3 U* q J6 R% p7 ^; UTotal download size: 146 k7 H* N3 z- r y5 P0 ^' F
Installed size: 106 M
! \" c4 C! h' z' e; {1 wDownloading Packages:8 y" l8 I9 Q# w7 {+ I% F4 t1 y. _% [
[SKIPPED] python3-devel-3.11.11-3.oe2503.x86_64.rpm: Already downloaded
/ _/ H4 x- M; Y+ u[SKIPPED] python3-rpm-generators-9-5.oe2503.noarch.rpm: Already downloaded 2 ~) s9 i+ f) o
(3/3): mariadb-connector-c-devel-3.4.3-1.oe2503.x86_64.rpm 268 kB/s | 146 kB 00:00 & D+ n! E6 N$ m6 A
------------------------------------------------------------------------------------------------------------------------------------------------------------------
" P/ C: F: H- Q7 ~0 T/ K% g/ TTotal 190 kB/s | 146 kB 00:00 . z6 o8 I% `& h+ [' F* k0 Y
Running transaction check2 s) O& L4 a& q: R
Transaction check succeeded.
3 Q& i/ Z2 v3 H/ ^Running transaction test
# l+ c0 Z; J% ~- Y$ \4 b4 \1 D2 kTransaction test succeeded.
# l. B* S4 d6 G& Z' y URunning transaction9 O0 @* j3 _6 J( r1 W* x. W
Preparing : 1/1 ' f! ]$ I$ Y9 P( J( k, m- u: F
Installing : python3-rpm-generators-9-5.oe2503.noarch 1/3 ! `' J8 K& Q% R- k3 K/ q# ?
Installing : python3-devel-3.11.11-3.oe2503.x86_64 2/3 ' ^ W- N, G* q/ v/ K
Installing : mariadb-connector-c-devel-3.4.3-1.oe2503.x86_64 3/3
/ p& |$ Z9 s/ M( H& o Running scriptlet: mariadb-connector-c-devel-3.4.3-1.oe2503.x86_64 3/3 * H4 m9 C* r6 ^) h
Verifying : mariadb-connector-c-devel-3.4.3-1.oe2503.x86_64 1/3 ' s+ V) ?7 k3 B5 O
Verifying : python3-devel-3.11.11-3.oe2503.x86_64 2/3 & S( ]& V5 A; T* c1 x! w1 u
Verifying : python3-rpm-generators-9-5.oe2503.noarch 3/3 1 x9 ^& c- }: r1 y
0 e8 l% g7 D2 x# h- ^& @
Installed:9 m+ r/ v$ J1 v) b
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 8 Y$ n# \' p9 w8 P; N, t* u% l& J! W
8 R" ~# `. K7 v
Complete!$ `8 O5 v: W& q# t
5 {7 g% @5 B- l5 G
再次安装:
9 ~4 Y A, K4 v3 F+ h8 m8 N7 t(.venv) [root@controller hcis_manager_portal]# pip install mysqlclient==2.2.4
! P1 I! Y: i9 u9 y. S d8 KCollecting mysqlclient==2.2.4. @% C4 t# ~4 L- T! F
Using cached mysqlclient-2.2.4.tar.gz (90 kB)
% z* f1 _& Z' z$ P5 }. x Installing build dependencies ... done
8 k- L" e! ?5 b, p7 x e/ X1 ^ Getting requirements to build wheel ... done
# _/ H5 |; f. y( N! L$ h5 R! G1 u Preparing metadata (pyproject.toml) ... done
$ o3 i# j1 q# `- k# ~+ QBuilding wheels for collected packages: mysqlclient/ j2 g+ s; ^. q; [. C
Building wheel for mysqlclient (pyproject.toml) ... done7 Q+ J" p) K- n
Created wheel for mysqlclient: filename=mysqlclient-2.2.4-cp311-cp311-linux_x86_64.whl size=79781 sha256=f28c5635af2009e45164e218fa8bb37b32ba06d451dd9a08766a7e91c1c4252b9 q4 J2 L j5 D
Stored in directory: /root/.cache/pip/wheels/1e/2f/4c/0bd8be7e2f3255f9436ce68bb1c2563661e8b7bbd49dcff0e09 x% M3 X& S- A# V
Successfully built mysqlclient2 N# h A$ M- z- L L; ?
Installing collected packages: mysqlclient
4 ?3 P+ m) Z3 E Attempting uninstall: mysqlclient$ O# b5 A! S) E8 U9 w
Found existing installation: mysqlclient 2.2.03 r# P& C- [. W8 d2 k( ?9 J
Uninstalling mysqlclient-2.2.0:. a. ]5 Z# d# @& D
Successfully uninstalled mysqlclient-2.2.0 M4 q" u% s! H6 ^9 x/ V) i
Successfully installed mysqlclient-2.2.4
+ w( u7 ]7 i& A. g: ]+ u
6 ^! ~5 G: ^! d8 C8 D! d; ^[notice] A new release of pip is available: 25.0 -> 25.31 e h, F- i8 {
[notice] To update, run: pip install --upgrade pip# n6 u5 _+ J) D- m. R! g
/ L6 t, `( L y5 c) P成功安装。. M+ N# ]: b# I# {, H
% F% V+ _6 R, l" U# f7 T. u(.venv) [root@controller hcis_manager_portal]# pip install mysqlclient==2.2.6- B" k, M8 ~" P7 P( m( Z0 ?
Collecting mysqlclient==2.2.6
4 u5 [2 g6 Y0 x4 s Using cached mysqlclient-2.2.6.tar.gz (91 kB)
0 z1 }3 t# N/ z# T( t) U Installing build dependencies ... done$ |1 B6 y( b8 Q9 T; Z3 Q" [
Getting requirements to build wheel ... done; f& M; ? _% M* v, j# Y; o" j
Preparing metadata (pyproject.toml) ... done$ L6 r) k# E' A1 u$ ~! e- Z
Building wheels for collected packages: mysqlclient' j6 F! Q1 E! g, r1 P" m
Building wheel for mysqlclient (pyproject.toml) ... done
4 n) C6 X$ C4 {3 D/ \: e0 O9 J R Created wheel for mysqlclient: filename=mysqlclient-2.2.6-cp311-cp311-linux_x86_64.whl size=80153 sha256=d3621a4c2733d18e78583c9a0558c81a653db240080c03deae38e2d7fa8bbe7b
D+ a& R w, f f% r6 j, h Stored in directory: /root/.cache/pip/wheels/7f/f3/9e/f1b8d41481e49d3d5381db6846c88637d253014786c15eb299
; ^, B1 t$ U7 d- L' P! i4 nSuccessfully built mysqlclient, J( }/ k8 m6 q, F/ N3 [; s2 c
Installing collected packages: mysqlclient
3 l5 o# d$ G9 e- M Attempting uninstall: mysqlclient; m1 R9 l3 C. f' B! e9 g" p4 }
Found existing installation: mysqlclient 2.2.4* M/ g& p* Y# P0 O. b
Uninstalling mysqlclient-2.2.4:
* T- N4 w- q& @ D1 I Successfully uninstalled mysqlclient-2.2.4
- Z% h, q# C; E& l" |1 oSuccessfully installed mysqlclient-2.2.6: q1 S4 q" [) t
' Q0 q: L [: B1 P# U2 b" c. R
[notice] A new release of pip is available: 25.0 -> 25.3
' u' E. Q& P" z6 I" E: B) q[notice] To update, run: pip install --upgrade pip
" z3 z) Y( D6 r7 q3 |6 L. T% B7 B# T. Q+ o- O) t$ a5 P" G2 f
) d1 ?2 W: }! j
成功升级。
" h* L+ c4 Q- i* \/ F, I完成安装。
0 E, k/ c/ _: \+ g2 v9 J4 s$ U |
|