Search code examples
pythonlinuxtwistedfedora

Can't install Twisted for Python3 on Fedora for some reason


For some reason, I just can't get it to work. After running pip3 install twisted, here is the error that I'm presented with: https://bpaste.net/show/3b73706ea448 Along with error: command 'gcc failed with exit status 1, it also said Failed building wheel for twisted at some point. I've tried sudo yum install python3-devel and I also have gcc installed already. The same error occurs, whether I'm in a virtualenv or not.


Solution

  • Solved using the following:

    sudo yum install redhat-rpm-config

    as seen here: G++ error:/usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory