Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name 'Group' #989

dawntcherian opened this issue Mar 29, 2018 · 1 comment


None yet
3 participants
Copy link

commented Mar 29, 2018

I am using channels==2.0.2 and getting the following error while trying to import Group.

File "/home/user/python_projects/django_channels/my_project/game/", line 3, in
from channels import Group
ImportError: cannot import name 'Group'

  • OS: Ubuntu 14.04
  • Channels: 2.0.2,
  • Daphne: 2.1.0,
  • Django: 2.0.3,
  • Twisted: 17.9.0,

This comment has been minimized.

Copy link

commented Mar 29, 2018

Groups work differently with channels 2 than they did with channels 1. There is no Group class anymore.

The new groups API is documented here:

@proofit404 proofit404 closed this Mar 29, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.