Install Pycrypto error on the python2.7 version, as follows
[[email protected]/var/tmp/paramiko/pycrypto-2.6]# python setup.py build && python setup.py Installrunning buildrunning build_pyrunning build_extrunning build_configurewarning:gmp or MPIR library not found; Not building crypto.publickey._fastmath.building ' crypto.hash._md2 ' extensiongcc-pthread-fno-strict-aliasing-pipe- Wall-wp,-d_fortify_source=2-fexceptions-fstack-protector-strong--param=ssp-buffer-size=4-grecord-gcc-switches- M64-mtune=generic-d_gnu_source-fpic-fwrapv-pipe-wall-wp,-d_fortify_source=2-fexceptions- Fstack-protector-strong--param=ssp-buffer-size=4-grecord-gcc-switches-m64-mtune=generic-d_gnu_source-fpic- fwrapv-fpic-std=c99-o3-fomit-frame-pointer-isrc/-i/usr/include/python2.7-c Src/md2.c-o build/temp.linux-x86_ 64-2.7/src/md2.osrc/md2.c:31:20:fatal error:python.h:no such file or directory #include "Python.h" ^ Compilation Terminated.error:command ' GCC ' failed with exit status 1
Find information on the Internet, found that the lack of python-dev, the package led to open Yum source code,
Then execute the command:
Installation #yum Install Python-devel
Then follow the steps below to install it:
Installation and use of Linux installation Paramiko modules
Linux installs Pycrypto error when installing Paramiko with Python