GAE Python - PyCrypto - No module named winrandom

I am trying to run PyCrypto on my application development server (Python). I installed PyCrypto using Voidspace binary (pycrypto-2.0.1.win-amd64-py2.6 exe).

I am using the 64-bit version of Windows 7. From what I found, this binary from Voidspace does not install winrandom correctly because winrandom does not have 64-bit binary. I tried to compile a 64-bit version using VS 2008, but this is far beyond my knowledge, and I do not know if I am doing this correctly. I followed the instructions for PyCrypto, but instead tried to compile the winrandom source.

+4
source share
1 answer

Since pycrypto is part of the third-party libraries for the Google App Engine , there is no need to manually install pycrypto to use it in your project. Instead, you need to add the library to your app.yaml:

libraries: - name: pycrypto version: "2.6" 
0
source

Source: https://habr.com/ru/post/1437484/


All Articles