Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No module named 'channels'

Tags:

django

channel

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

like image 254
Arturo olmos Avatar asked Jun 19 '26 06:06

Arturo olmos


2 Answers

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.

like image 67
Mayur Avatar answered Jun 22 '26 00:06

Mayur


It seems the problem was it conflicted with another library, probably whitenoise. I created a new clear env and it works fine now.

like image 28
Arturo olmos Avatar answered Jun 22 '26 00:06

Arturo olmos



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!