我正在尝试在本地计算机(Windows 7 64 位)上安装 PyCrypto 2.4.1。 但是,我在“python setup.py install”上收到了以下消息。
running install
running build
running build_py
running build_ext
warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.
building 'Crypto.Random.OSRNG.winrandom' extension
error: Unable to find vcvarsall.bat
我想问的是:我可以只将包含 Crypto 文件夹的 lib 文件夹复制到我的应用程序所在的位置吗?我正在使用 Python27 运行时开发 Google AppEngine 应用程序,我只需要 PyCrypto 的本地库。
请您参考如下方法:
实际上,我只需要一些适用于 Windows 64 位的 PyCrypto 编译版本。
- PyCrypto 版本:2.3.1
- Python版本:2.7.1
- 目标平台:Windows 64 位
而且,我可以从 here 得到一个.而且,this是直接下载链接。
谢谢大家!
