I have these working module combinations, but my Python is 3.6.9:
asgiref==2.2.0
channels==2.0.2
channels_redis==2.3.0
daphne==2.1.0
Django==2.2.4
django-redis==4.10.0
redis==3.3.6
Twisted[tls,http2]
uwsgi==2.0.18
websockets==6.0
asgiref==2.2.0
channels==2.0.2
channels_redis==2.3.0
daphne==2.1.0
Django==2.2.4
django-redis==4.10.0
redis==3.3.6
Twisted[tls,http2]
uwsgi==2.0.18
websockets==6.0
On Sat, Feb 22, 2020 at 3:25 AM Larry Martell <larry.martell@gmail.com> wrote:
I am in a bit of version hell. Not fun on a Friday afternoon.
Django 2.0.4, python 3.5.2
Trying to get channels, websockets, daphne, and asgiref working.
When I installed the latest channels it did not work with my version
of mysqlclient and some googling led me to install 2.0 of channels.
That worked fine with the dev server, and then I wanted to deploy my
app in prod. In prod we use nginx/uwsgi so I was going to replace
uwsgi with daphne. When I tried to run daphne I got:
ImportError: No module named 'asgiref.compatibility'
Googling that I was led to upgrade asgiref to the latest version.
After I did that I got:
AttributeError: module 'asyncio.coroutines' has no attribute '_is_coroutine'
Have not been able to get past this one.
Anyone have any thoughts? Would upgrading django and python fix these
issues? I am planning on doing that soon, but I was not planning on
doing that now. Don't want to upgrade now and then find I still have
issues. Can I get all this to work with my current versions and
upgrade later?
TIA!
Larry
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACwCsY5SQzRG-7EuEM8rZvOfQor5bBOjt%3DBV1Qsbn9%2BBhMx12g%40mail.gmail.com.
Regards,
Aldian Fazrihady
http://aldianfazrihady.com
http://aldianfazrihady.com
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAN7EoAbSAVUT%3D8sg1o-0oczCfjfRhtGwrMDE31YBt9N%2Bm96YmA%40mail.gmail.com.
No comments:
Post a Comment