环境:CentOS Linux release 7.6.1810 (Core) python3.
问题:pip3 install pygame 报如上述标题错误。
解决步骤:
①安装openssl
yum install openssl
yum install openssl-devel
②重新源码安装
[root@localhost Python-3.6.8]# ./configure --prefix=/usr/local/python3/ --enable-shared --enable-loadable-sqlite-extensions
[root@localhost Python-3.6.8]# make && make install
③pip3 install -r requirment 正常