|
|
pip 安装包,pip install kolla-ansible
. ~- {& n3 _6 C2 C6 p+ X6 _/ P卸载安装包: uninstall -y- H% j$ a$ [' B7 r( N2 c
; g; N- h6 K# \) c F[root@controller ~]# pip uninstall -y kolla-ansible3 @$ V: s6 W7 d. I( v" T4 E3 Y
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip. ?8 |" I% Y9 {1 \; }% w
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
) d" H' `. \+ ^7 r8 \1 j# m7 R5 `3 _To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.( L9 H" Z, P. |* u/ ?- A
Found existing installation: kolla-ansible 9.3.1
* S5 I& j( N' S+ T- d2 RUninstalling kolla-ansible-9.3.1:
* @9 o' U6 K' O4 d+ C/ \- e2 i Successfully uninstalled kolla-ansible-9.3.1
, N% I$ Q4 ~$ }- H0 v) _! l TWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
& z/ j1 y+ Q7 K+ V' K# H6 u3 c) Q5 F( [7 Q6 F% ]( t. ]
5 k" R" ]. R7 ^4 l2 |3 P
3 ]: M* ?. h5 e+ Y- O- |% S
5 U* s0 g* L! E) x, A8 w# a |
|