When trying to run a Django application with Blackfire middleware enabled in Djagon settings and the Blackfire Python Probe is not installed, you will get the following error:

ModuleNotFoundError:No module named 'blackfire'
django.core.exceptions.ImproperlyConfigured:WSGI application 'mypolls.wsgi.application' could not be loaded; Error importing module.

If you get this error, consider installing the Python probe as described in the documentation.

pip install blackfire --user
python -m blackfire install-bootstrap

Did this answer your question?