简体   繁体   English

在Fedora 24上安装Django频道时出错

[英]Error when installing django channels on Fedora 24

This is the error that comes up when installing django channels with pip install channels: 这是使用pip install通道安装django通道时出现的error

error: command 'gcc' failed with exit status 1

    ----------------------------------------
Command "/home/arunvm/Desktop/CleverHires/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-oisfgik6/twisted/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-689vby9j-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/arunvm/Desktop/CleverHires/include/site/python3.5/twisted" failed with error code 1 in /tmp/pip-build-oisfgik6/twisted/

You don't have Python headers installed. 您没有安装Python标头。

Please run... 请跑...

>>> sudo yum install python-devel

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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