SSL模块问题
python3安装软件时候有时候会遇到SSL模块安装问题
1、windows:将Python环境路径配置好,用aconda安装的需要配置以下三个路径
E:\anaconda
E:\anaconda\Scripts
E:\anaconda\Library\bin
2、linux环境:安装完python3后修改setup文件
Python3安装教程:https://blog.csdn.net/L_15156024189/article/details/84831045
#修改Setup文件,python3的安装路径下文件Setup vi /root/Python-3.6.5/Modules/Setup.dist #修改结果如下: # Socket module helper for socket(2) _socket socketmodule.c timemodule.c # Socket module helper for SSL support; you must comment out the other # socket line above, and possibly edit the SSL variable: SSL=/usr/local/ssl _ssl _ssl.c \ -DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \ -L$(SSL)/lib -lssl -lcrypto
#安装编译 ./configure --prefix=/usr/local/python make make install
验证,安装成功