pip install pycrypto
报了一个编译错误
Command /usr/bin/python -c
"import setuptools, tokenize;__file__='/tmp/pip_build_root/pycrypto/setup.py';exec<br>(compile(getattr(tokenize, 'open', open)<br>(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
install --record /tmp/pip-sunVcV-record/install-record.txt <br>--single-version-externally-managed --compile failed with error code 1
in
/tmp/pip_build_root/pycrypto
有很多包安装都会报类似的错误
解决方法是安装python-devel
yum install python-devel安装完成后即可解决
http://stackoverflow.com/questions/17639889/installing-paramiko-pycrypto-gives-compile-error