Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Installing pycrypto on Windows #34

piotr-dobrogost opened this Issue May 4, 2012 · 3 comments


None yet
3 participants

This is just to help people with problems installing oauthlib on Windows due to pycrypto dependency.

oauth library depends on pycrypto library which is not pure Python library (has some c extensions). For this reason pycrypto can't be installed from source on Windows without Visual Studio 2008 installed (needed to compile these c extensions of pycrypto). The simplest solution is to download binary installers and install them using easy_install (pip doesn't support installing of binaries). 32bit binary installers for Python 2.2-2.7 and 64bit binary installer for Python 2.6 are at The Voidspace Python Modules and 64bit binary installer for Python 2.7 is at Compiling pycrypto on Win7-64. Binary installers can be installed in virtualenv - see http://stackoverflow.com/q/3271590/95735


kennethreitz commented May 4, 2012

I'd enjoy us switching to the rsa module if possible.

@kennethreitz kennethreitz referenced this issue in requests/requests May 4, 2012


Problem installing pycrypto on Windows #586


kennethreitz commented May 4, 2012

Better yet, it would better if oauthlib had a soft dependency on pycrypto,


ib-lundgren commented Feb 18, 2013

Closing since it's in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment