Recently, i forked some source code from github to use as a basis for a project that i’m using to learn Django. As per the deployment instructions, i tried to use this command for the database in my terminal:
python manage.py migrate
Yet i keep getting this error:
ImportError: cannot import name ‘force_text’ from ‘django.utils.encoding’ (C:Usersafric.virtualenvsOnline-Examination-System-aZtpAN9alibsite-packagesdjangoutilsencoding.py)
the error stems from the terminal trying to proccess this command:
from django.utils.encoding import force_bytes, force_text, DjangoUnicodeDecodeError
can anyone please help me solve this?