开发者

RuntimeWarning: in python 2.6 while importing python-pycrypto-2.3-1.el3.pp

开发者 https://www.devze.com 2023-04-08 08:23 出处:网络
I have installed \"python-pycrypto-2.3-1.el3.pp\" and \"python-paramiko-1.7.6-1.el3.rf\" in red hat linux and using python2.6 version.

I have installed "python-pycrypto-2.3-1.el3.pp" and "python-paramiko-1.7.6-1.el3.rf" in red hat linux and using python2.6 version.

And when I import paramiko, I get below RuntimeWarning mismat开发者_如何学编程ch:

/usr/local/lib/python2.6/site-packages/Crypto/Random/Fortuna/SHAd256.py:38: 
RuntimeWarning: Python C API version mismatch for module Crypto.Hash.SHA256: This Python has API version 1013, module Crypto.Hash.SHA256 has version 1011.

please help how to resolve this problem.


The EL3 packages are for EL3 Python. Since you've installed Python from source yourself, perform a source installation of those modules.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号