Python 2.7无法导入加密

时间:2014-02-08 14:11:46

标签: python visual-studio-2012 windows-8 keyczar

嗨,这是我在Windows 8x64 Visual Studio 2012 Python 2.7上运行python程序时得到的内容我尝试安装预编译的二进制文件但是失败了。

 from keyczar.keys import RsaPrivateKey,RsaPublicKey,AesKey
  File "C:\Python27\lib\site-packages\keyczar\keys.py", line 34, in <module>
 from Crypto.Cipher import AES
  ImportError: No module named Crypto.Cipher

1 个答案:

答案 0 :(得分:0)

已经很老的问题,但检查预编译的软件包是否附带pyCrypto软件包。如上所述; https://code.google.com/p/keyczar/wiki/PythonDependencies