Ceph入门到精通-ansible报Python 3.6 is no longer supported

[root@node29 cephadm-ansible]# pip3 uninstall cryptography
Found existing installation: cryptography 40.0.2
Uninstalling cryptography-40.0.2:
  Would remove:
    /usr/local/lib64/python3.6/site-packages/cryptography-40.0.2.dist-info/*
    /usr/local/lib64/python3.6/site-packages/cryptography/*
Proceed (Y/n)? y
  Successfully uninstalled cryptography-40.0.2
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behavi
our with the system package manager. It is recommended to use a virtual environment instead: ht
tps://pip.pypa.io/warnings/venv
[root@node29 cephadm-ansible]# 
[root@node29 cephadm-ansible]# pip3 install -i http://mirrors.aliyun.com/pypi/simple/ --trusted
-host mirrors.aliyun.com  cryptography==36.0.2
Looking in indexes: http://mirrors.aliyun.com/pypi/simple/
Collecting cryptography==36.0.2
  Downloading http://mirrors.aliyun.com/pypi/packages/13/3c/496203aae43589696bed4334efb6db2f2f1
77d42ab48b293252e148634d8/cryptography-36.0.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aa
rch64.manylinux_2_24_aarch64.whl (3.3 MB)
     |████████████████████████████████| 3.3 MB 1.2 MB/s            
Requirement already satisfied: cffi>=1.12 in /usr/local/lib64/python3.6/site-packages (from cry
ptography==36.0.2) (1.15.1)
Requirement already satisfied: pycparser in /usr/local/lib/python3.6/site-packages (from cffi>=
1.12->cryptography==36.0.2) (2.21)
Installing collected packages: cryptography
Successfully installed cryptography-36.0.2
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behavi
our with the system package manager. It is recommended to use a virtual environment instead: ht
tps://pip.pypa.io/warnings/venv

猜你喜欢

转载自blog.csdn.net/wxb880114/article/details/130627676
今日推荐