出于某种原因,我无法让它工作。运行 pip3 install twisted
后,出现以下错误:https://bpaste.net/show/3b73706ea448除了 error: command 'gcc failed with exit status 1
,它还在某些时候说 Failed building wheel for twisted
。我试过 sudo yum install python3-devel
并且我也已经安装了 gcc。无论我是否在 virtualenv 中,都会发生同样的错误。
最佳答案
使用以下方法解决:
sudo yum install redhat-rpm-config
如下所示:G++ error:/usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory
关于python - 由于某种原因无法在 Fedora 上安装 Twisted for Python3,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42243720/