How can I install pycrypto on a 64-bit Windows 7 machine?

↘锁芯ラ 提交于 2019-12-10 17:10:32

问题


I tried installing PyCrypto using pip, but it complained about needing vcvarsall.bat. I installed Visual Studio 2008, but now I get ValueError: [u'path'] when I try to install it from pip.

I tried downloading a pre-built binary from Voidspace, but they only have 32-bit versions, and it doesn't seem to install correctly on my machine (it says it succeeded, but running python and trying import Crypto gives me an ImportError: No module named Crypto).

What do I need to do?


回答1:


Voidspace now has prebuilt 64bit binaries:

eg. The 64bit binary for python 2.7



来源:https://stackoverflow.com/questions/10708538/how-can-i-install-pycrypto-on-a-64-bit-windows-7-machine

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!