小编Moh*_*ara的帖子

Django 频道没有名为“asgiref.sync”的模块错误

我正在尝试为我的项目使用渠道。我按照本教程Raspberry PI 和 Django Channels来开发我的项目。但是运行服务器python3 manage.py runsever给了我下面的错误。

root@raspberrypi:/home/pi/sensor# python3 manage.py runserver 0:8000
:0: UserWarning: You do not have a working installation of the service_identity module: 'cannot import name 'opentype''.  Please install it from <https://pypi.python.org/pypi/service_identity> and make sure all of its dependencies are satisfied.  Without the service_identity module, Twisted can perform only rudimentary TLS client hostname verification.  Many valid certificate/hostname mappings may be rejected.
:0: UserWarning: You do not have a working installation of the service_identity module: …
Run Code Online (Sandbox Code Playgroud)

python sockets django channel

3
推荐指数
1
解决办法
5886
查看次数

标签 统计

channel ×1

django ×1

python ×1

sockets ×1