Python OpenSSL:Importerror:无法导入名称整数类型

Python OpenSSL:Importerror:无法导入名称整数类型,python,linux,cassandra,redhat,importerror,Python,Linux,Cassandra,Redhat,Importerror,需要在Red Hat服务器上执行以下过程: Python的版本是2.7.9-与Makefile一起安装 但是,我们在尝试验证OpenSSL版本时遇到了一个错误。需要关于如何从这里开始的建议。以前有人建议安装PythonSix来解决兼容性问题,但没有改进 %python-c“导入OpenSSL;打印OpenSSL.\u版本” 回溯(最近一次呼叫最后一次): 文件“”,第1行,在 文件“build/bdist.linux-x86_64/egg/OpenSSL/init.py”,第8行,在 文件“b

需要在Red Hat服务器上执行以下过程:

Python的版本是2.7.9-与Makefile一起安装

但是,我们在尝试验证OpenSSL版本时遇到了一个错误。需要关于如何从这里开始的建议。以前有人建议安装PythonSix来解决兼容性问题,但没有改进

%python-c“导入OpenSSL;打印OpenSSL.\u版本”
回溯(最近一次呼叫最后一次):
文件“”,第1行,在
文件“build/bdist.linux-x86_64/egg/OpenSSL/init.py”,第8行,在
文件“build/bdist.linux-x86_64/egg/OpenSSL/rand.py”,第9行,在
ImportError:无法导入名称整数类型