简体   繁体   English

Python 2.7无法导入加密

[英]Python 2.7 cannot import Crypto

Hi this what I'm getting when I try to run a python program on Windows 8x64 Visual Studio 2012 Python 2.7 I've tried installing precompiled binaries but failed. 嗨,这是我在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

Pretty old question already, but check if the precompiled packages comes with the pyCrypto package. 已经是一个很老的问题,但是请检查pyCrypto软件包是否随附了预编译的软件包。 As mentioned here; 如此处所述; https://code.google.com/p/keyczar/wiki/PythonDependencies https://code.google.com/p/keyczar/wiki/PythonDependencies

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM