This error is due to the django_forms_bootstrap
Python package not being installed; therefore, the django.forms.bootstrap import is failing.
pip install django_forms_bootstrap
Then add 'django_forms_bootstrap'
to INSTALLED_APPS in settings.py
and then restart your website or runserver.