簡體   English   中英

在Fedora 24上安裝Django頻道時出錯

[英]Error when installing django channels on Fedora 24

這是使用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/

您沒有安裝Python標頭。

請跑...

>>> sudo yum install python-devel

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM