【2022-01-23】Linux 下编译 Python 并安装后,pip install 总是提示 SSLError 并安装失败的解决办法

There was a problem confirming the ssl certificate: Can’t connect to HTTPS URL because the SSL module is not available.

原因:依赖没有安装完全。
解决办法:

sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev wget

你可能感兴趣的:(基础课,#,python,#,Linux,基础,linux,python,运维)