工具使用篇——python3在linnux服务器上的报错解决 Caused by SSLError("Can't connect to HTTPS URL because the SSL module

报错

Caused by SSLError("Can’t connect to HTTPS URL because the SSL module is not available)

解决方法

改问题是因为在安装python3的时候没有安装SSL模块的原因。补上代码。

yum install openssl
yum install openssl-devel

注意注意

在安装好上述模块之后还要重新编译一下python3的源文件。
cd到你的解压文件下,执行操作。
完美解决。给自己撒个花。手动

make && make install

你可能感兴趣的:(工具使用,python,linux)