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

时间:2017-08-10 19:46:25

标签: python django fedora django-channels

使用error频道安装django个频道时,会出现pip install

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/

1 个答案:

答案 0 :(得分:1)

您没有安装Python标头。

请跑......

>>> sudo yum install python-devel