To Fix ImportError: cannot import name ‘force_text’ from ‘django.utils.encoding’ Error just Add django<=3. To solve this error you have to just add django<=3 to the requirements.txt. It will help you.