pip升级报错“pip is configured with locations that require TLS/SSL”

问题描述

WARNING: You are using pip version 20.2.3; however, version 22.3.1 is available.
You should consider upgrading via the 'python3 -m pip install --upgrade pip' command.

直接使用提示命令升级,报错如下

在这里插入图片描述

解决方案

python3 -m pip install --upgrade pip -i http://pypi.douban.com/simple --trusted-host pypi.douban.com

你可能感兴趣的:(python,pip,python,linux)