Reputation: 91
I am trying to install channels, following their tutorial(channels tutorial) but when I try to run the server I get the error: No module named 'channels'.
I have tried reinstalling it, moving the app to the top of the list of "INSTALLED_APPS" but it still does not work.
I have installed python 3.7 and django 2.1.3
Upvotes: 8
Views: 26237
Reputation: 5053
There is no need to reinstall the python
Or django
. You just forgot to install channels
. Follow Channel 2.1.7 installation
Try python -m pip install -U channels
this will fix your issue.
Upvotes: 10
Reputation: 91
It seems the problem was it conflicted with another library, probably whitenoise. I created a new clear env and it works fine now.
Upvotes: 1