How to successfully start the server in django?

Whenever I put the command "python manage.py runserver" it through an error.

    from django.utils.encoding import python_2_unicode_compatible
ImportError: cannot import name 'python_2_unicode_compatible' from 'django.utils.encoding' (C:\JavaScript\DR_BRO\backend\venv\Lib\site-packages\django\utils\encoding.py)

I was trying to run the server in Django. But it's thorough an error like

    from django.utils.encoding import python_2_unicode_compatible
ImportError: cannot import name 'python_2_unicode_compatible' from 'django.utils.encoding' (C:\JavaScript\DR_BRO\backend\venv\Lib\site-packages\django\utils\encoding.py)
Back to Top