How to install pycrypto on Windows

How to install pycrypto on Windows

The file include\pyport.h in Python installation directory does not have #include < stdint.h > anymore. This leaves intmax_t undefined.

A workaround for Microsoft VC compiler is to force include stdint.h via OS environment variable CL:

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC>vcvarsall
set CL=-FI"%VCINSTALLDIR%\INCLUDE\stdint.h"
pip install pycrypto
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC>pip install pycrypto
Collecting pycrypto
  Using cached pycrypto-2.6.1.tar.gz
Installing collected packages: pycrypto
  Running setup.py install for pycrypto ... done
Successfully installed pycrypto-2.6.1

Recommended Posts

How to install pycrypto on Windows
How to install music 21 on windows
[Kivy] How to install Kivy on Windows [Python]
How to install richzhang / colorization on Windows 10
How to quickly install h5py on Windows 10 [Unofficial]
[Python] How to install OpenCV on Anaconda [Windows]
How to install / verify graphviz on anaconda / windows10
How to install mysql-connector-python on mac
How to use Dataiku on Windows
How to install graph-tool on macOS
How to install VMware-Tools on Linux
How to deploy django-compressor on Windows
How to install OpenCV on Mac
How to install PyPy on CentOS
How to install TensorFlow on CentOS 7
How to install Maven on CentOS
How to install Go on Ubuntu
How to install drobertadams / toggl-cli on Mac
How to use Google Assistant on Windows 10
How to install packages on Alpine Linux
How to install Anisble on Amazon Linux 2
How to install Windows Subsystem For Linux
How to install Apache (httpd) on CentOS7
How to install php7.4 on Linux (Ubuntu)
How to install Eclipse GlassFish 5.1.0 on CentOS 7
How to install Apache (httpd) on CentOS8
How to install NumPy on Raspberry Pi
How to install cx_Oracle on macOS Sierra
How to install Python
How to install pip
How to install archlinux
How to install python
How to install BayesOpt
Install Anaconda on Windows 10
Install python on windows
Install pycuda on Windows10
Install pygraphviz on Windows 10
How to install Nbextensions
Install Chainer 1.5.0 on Windows
How to install Prover9
[2020 version] How to install Python3 on AWS EC2
How to install OpenCV on Jetson Nano Python
How to install OpenGM on OSX with macports
How to live a decent life on 2017 Windows
How to install Camunda Modeler on Manjaro Linux
Install Numpy on virtualenv on Windows
[2020.8 latest] How to install Python
Install watchdog on Windows + Python 3.3
Install Win-Kex (kali-linux) on Windows 10.
Tabpy 1.0 (2020-01 version) How to install
Install cvxpy on windows, Anaconda
How to register on pypi
How to install mkl numpy
Install Chainer 1.6 (GPU) on Windows 7.
How to install Pelican blog
[Python] [Chainer] [Windows] Install Chainer on Windows
How to embed mod_wsgi into Apache on Python Windows
How to install Linux on a 32bit UEFI PC
How to install Git GUI and Gitk on CentOS
How to install caffe on OS X with macports
[AWS EC2] How to install Maven on Amazon Linux 2