python>>
import
paramiko
(Crypto error:
'module'
object has no attribute
'HAVE_DECL_MPZ_POWM_SEC'
注:如果Python是2.7的话:
找到
/usr/lib/python2
.7
/site-packages/Crypto/Util/number
.py
把
if
_fastmath is not None and not _fastmath.HAVE_DECL_MPZ_POWM_SEC:
注释了
#if _fastmath is not None and not _fastmath.HAVE_DECL_MPZ_POWM_SEC:
)
注:如果Python是2.6的话:
修改
vim
/usr/lib64/python2
.6
/site-packages/Crypto/Util/number
.py
注释了
#if _fastmath is not None and not _fastmath.HAVE_DECL_MPZ_POWM_SEC:
)