PyCrypto – Fixing Setup script exited with error: The .NET Framework SDK needs to be instal led before building extensions for Python

So here’s this horrible thing that happening to me when trying to install Paramiko on Windows XP:

C:\Documents and Settings\gpinero>easy_install paramiko
Searching for paramiko
Best match: paramiko 1.7.4
Processing paramiko-1.7.4-py2.4.egg
paramiko 1.7.4 is already the active version in easy-install.pth

Using c:\python24\lib\site-packages\paramiko-1.7.4-py2.4.egg
Processing dependencies for paramiko
Searching for pycrypto>=1.9
Reading http://pypi.python.org/simple/pycrypto/
Reading http://pycrypto.sourceforge.net
Reading http://www.amk.ca/python/code/crypto
Best match: pycrypto 2.0.1
Downloading http://www.amk.ca/files/python/crypto/pycrypto-2.0.1.tar.gz
Processing pycrypto-2.0.1.tar.gz
Running pycrypto-2.0.1\setup.py -q bdist_egg --dist-dir c:\docume~1\gpinero\loca
ls~1\temp\easy_install-gpdsc5\pycrypto-2.0.1\egg-dist-tmp-8dcze9
error: Setup script exited with error: The .NET Framework SDK needs to be instal
led before building extensions for Python.

I heard it’s a bear to install the .NET framework SDK, and supposedly the install still won’t work. So what you do instead is download this prebuilt pycrypto binary from here, and install it.

Comments are closed.