Arturo olmos
Arturo olmos

Reputation: 91

No module named 'channels'

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

Answers (2)

Mayur
Mayur

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

Arturo olmos
Arturo olmos

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

Related Questions