简体   繁体   中英

error: command 'gcc' failed with exit status 1 while installing pycrypto on RHEL

I am trying to manually install Crypto module for Python (pycrypto) on RHEL. However, I seem to always get this error after I run the build command (ie python setup.py build):

error: command 'gcc' failed with exit status 1

Does anyone know how to solve this problem?

Do you have any missing libraries or dependencies? pycrypto installation mentions:

The modules are packaged using the Distutils

Also, this might be a possible duplicate: https://stackoverflow.com/a/11094752/5224887

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM