Search code examples
pythondjangopython-3.5django-channels

Daphne, twisted pip error when installing django channels


I have a small problem with pip installing django channels, I noticed this from the github repository

Note: Recent versions of Channels also need recent versions of Daphne, asgi_redis and asgiref, so make sure you update all at once

I have neglected this and just started with pip install channels, but error occurred

Could not find a version that satisfies the requirement twisted<16.3,>=15.5 (from daphne) (from versions: ) No matching distribution found for twisted<16.3,>=15.5 (from daphne)

and when I try pip install twisted, it's just get confusing

Could not find a version that satisfies the requirement twisted (from versions: )
No matching distribution found for twisted

So I have tried to find some solutions for this, and the solution suggest that I recompile my python, so I'm asking you is there any other solutions for resolving this issue.

I'm using django==1.8.7 and python3.5 for my existing project.


Solution

  • Channels is entirely new concept and in beta, In this time recommended way to install channels is pip install -U Channels

    Of cource, you can install twisted by visiting in this page http://twistedmatrix.com/trac/ and download the source file and install it.