我在pip
安装^{
Note: Recent versions of Channels also need recent versions of Daphne, asgi_redis and asgiref, so make sure you update all at once
我忽略了这一点,只是从pip install channels
开始,但是出现了错误
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)
当我尝试pip install twisted
时,它只是让人困惑
Could not find a version that satisfies the requirement twisted (from versions: )
No matching distribution found for twisted
所以我试图找到一些解决方案,这个方案建议我重新编译我的python,所以我问你有没有其他解决方案来解决这个问题。在
我在现有项目中使用django==1.8.7
和{
Channels是一个全新的概念,在beta版中,这个时候推荐的安装Channels的方法是
pip install -U Channels
在cource中,您可以通过访问这个页面http://twistedmatrix.com/trac/来安装twisted,然后下载源文件并安装它。在
如果你用的是mac,我想你必须更新你的
Xcode
。 这对我有用xcode-select install
相关问题 更多 >
编程相关推荐