Not able to install python module pycrypto [closed

2019-09-06 16:20发布

问题:

I am trying to use a python module for using Mega and it requires me to have pycrypto installed. I tried using both pip and easy_install to install it but I have had no luck. With pip I am getting an error like this post. I followed the link from the answer in that post, but I really have no idea where to go from there. I am using Windows 7.

回答1:

Pycripto is C-based extension. You can compile PyCrypto on Windows, here is a step-by-step guide.

Alternatively, you can install compiled binaries. Here is extensive source of compiled python packages for Windows: Unofficial Windows Binaries for Python Extension Packages