Eu fiz virtualenv, novo projeto de django em branco e quero instalar os canais. Eu uso o Python 3.6.3. Eu digitei pip install -U channels
e isso é OUTPUT :
...
Failed building wheel for twisted
...
Command "/home/marcin/Documents/django_projects/channels/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-ic8ux9ei/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-ox6bclm5-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/marcin/Documents/django_projects/channels/include/site/python3.6/twisted" failed with error code 1 in /tmp/pip-build-ic8ux9ei/twisted/
pip list
OUTPUT :
...
Django (1.11.6)
...
pip (9.0.1)
...
setuptools (36.6.0)
...
wheel (0.29.0)
...
Eu vejo que não tenho Twisted, então eu digitei: pip install twisted
. Isso é OUTPUT :
...
Failed building wheel for twisted
...
Command "/home/marcin/Documents/django_projects/channels/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-a54n37_z/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-9p23ehnv-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/marcin/Documents/django_projects/channels/include/site/python3.6/twisted" failed with error code 1 in /tmp/pip-build-a54n37_z/twisted/
Como você pode ver, as saídas são quase iguais. Como posso instalar canais?