0
我安裝了pycrypto 2.6.1
,但試圖導入RSA
時仍然出現此錯誤。PyCrypto Py3compat的依賴問題
>>> from Crypto.Cipher import AES
>>> from Crypto.PublicKey import RSA
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python2.6/site-packages/Crypto/PublicKey/RSA.py", line 73, in <module>
ImportError: No module named py3compat
>>>
如您所見,試圖導入AES時沒有問題,但嘗試導入RSA時出現問題。