python问题:AttributeError: 'module' object has no attribute 'SSL_ST_INIT'
python问题:AttributeError: 'module' object has no attribute 'SSL_ST_INIT'
pyopenssl库的问题,删除包:
rm -rf /usr/lib/python2.7/dist-packages/OpenSSL
rm -rf /usr/lib/python2.7/dist-packages/pyOpenSSL-0.15.1.egg-info # 包名可能不一样,用你自己的
pip install pyopenssl
再用pip install pkg
正常了