How to solve Django : ModuleNotFoundError: No module named 'djoser'

I have installed djoser on my Django project, however , for some reason, It will not find djoser and throw :

"ModuleNotFoundError: No module named 'djoser'"

You can see djoser is on my installed apps and it's installed on my venv, which is also activate.

enter image description here

Order of the installed apps matter, try adding 'django.contrib.auth` as mentioned in djoser docs.

You need to follow the documentation of djoser, the documentation clearly says to add djoser after auth app and django_rest in installed apps, please follow the official documentation

May be it's sufficient to accomplish djoser operation to install module by:

pip install djoser

Try uninstall djoser and install with python -m like this python -m pip install djoser. Sometimes it help with error no module named.

Back to Top