I am trying to install something in my virtual environment, which uses Anaconda Python 3.6. I get the gcc failed with exit status 1, hinting on the absence of the right python3-devel package, as described in Error message "error: command 'gcc' failed with exit status 1" while installing eventlet.
To fix the error, I tried to install the python3-devel package on my server running RHEL 7.3.
I did yum install python3-devel, but got a 'package not found' error. Then I found Is there a repository for python3-devel on CentOS 7?, which hints to the python34-devel package in the EPEL repository. I installed it using YUM, but upon trying to install something in my virtual environment, I still get the gcc failed with exit status 1 error.
How can I fix this?