执行python脚本报错:AttributeError: ‘module’ object has no attribute ‘SSL_ST_INIT’
执行python脚本报错: 执行python脚本报错:AttributeError: ‘module’ object has no attribute ‘SSL_ST_INIT’
解决方法:
sudo rm -rf /usr/lib/python2.7/dist-packages/OpenSSL
sudo rm -rf /usr/lib/python2.7/dist-packages/pyOpenSSL-0.15.1.egg-info
sudo pip install pyopenssl