ImportError: No module named _ssl

1.查看openssl安装包
[root@localhost ~]# rpm -aq|grep openssl

2.安装
yum install openssl -y
yum install openssl-devel -y

3.重新编译python

猜你喜欢

转载自ontheroad-luckhouge.iteye.com/blog/2068883