在pip install pytest时出现了Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
很烦,只能重装python环境了。没什么特殊的,下载python3.8.1
根据该博客安装就好,顺便可以解决安装中出现的问题,唯一的特殊事在文件编译时改成这个
./configure --prefix=/usr/local/python3 --with-ssl