I have followed the channels tutorial but while running these error throw
Version of the packages is channels==2.1.2 Django==2.0.4<
In my case it was wrong import in different file.
What you should do is
python manage.py shell from mysite.routing import application
Look what exact error it produces and try to fix that