python - 由于某种原因无法在 Fedora 上安装 Twisted for Python3

标签 python linux twisted fedora

出于某种原因,我无法让它工作。运行 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/

相关文章:

python - 通过 webapp2 访问 URI 参数

python - 如何在 python 中对列范围求和

python - 如何在 django rest 框架中不区分大小写地匹配 url?

linux - 使用 Shell 脚本内容保存文件

c - 是否可以在单字节对齐结构中对齐特定结构成员?

python - 如何在twisted中创建部分下载?

python - 面对python继承中的问题

python - 带有适用于 Ubuntu 的 Python 客户端和 Gui 工具的免费 RDMBS

python - python twisted framework HttpClient是否访问代理?

python - 在 Twisted 客户端中生成 header