python版本升级
背景
在对centos机器升级Python版本从3.6到3.10后,pip安装出现了一些问题
[解决pip is configured with locations that require TLS/SSL问题]
操作
下载
在官方主站找到合适的版本,并下载 https://www.python.org/ftp/python/
wget https://www.python.org/ftp/python/3.10.6/Python-3.10.6.tgz
2、解压
解压
tar -xzvf Python-3.10.6