Graphite on Incingaweb2 - ImportError: No module named django.conf


I installed Graphite on Debian 10 in addition to Icinga2. However, I only get a 503 error in the web browser. This is the reason for this

[Wed May 05 11:36:47.515673 2021] [wsgi:error] [pid 22706] mod_wsgi (pid=22706): Failed to exec Python script file '/opt/graphite/conf/graphite.wsgi'.
[Wed May 05 11:36:47.515695 2021] [wsgi:error] [pid 22706] mod_wsgi (pid=22706): Exception occurred processing WSGI script '/opt/graphite/conf/graphite.wsgi'.
[Wed May 05 11:36:47.515706 2021] [wsgi:error] [pid 22706] Traceback (most recent call last):
[Wed May 05 11:36:47.515719 2021] [wsgi:error] [pid 22706]   File "/opt/graphite/conf/graphite.wsgi", line 7, in <module>
[Wed May 05 11:36:47.515756 2021] [wsgi:error] [pid 22706]     from graphite.wsgi import application
[Wed May 05 11:36:47.515762 2021] [wsgi:error] [pid 22706]   File "/opt/graphite/webapp/graphite/", line 12, in <module>
[Wed May 05 11:36:47.515783 2021] [wsgi:error] [pid 22706]     from django.conf import settings
[Wed May 05 11:36:47.515794 2021] [wsgi:error] [pid 22706] ImportError: No module named django.conf

I proceeded as follows during the installation:

apt install python3-dev libffi-dev python3-cairo-dev python-scandir apache2 libapache2-mod-wsgi python3-pip gcc
pip3 install --upgrade pip
pip install --no-binary=:all: https ://
pip install --no-binary=:all: https ://
pip install --no-binary=:all: https ://
ln -s /opt/graphite/lib/carbon-1.2.0-py3.7.egg-info /usr/lib/python3/dist-packages/
ln -s /opt/graphite/webapp/graphite_web-1.2.0-py3.7.egg-info /usr/lib/python3/dist-packages/
PYTHONPATH=/opt/graphite/webapp migrate --settings=graphite.settings --run-syncdb
PYTHONPATH=/opt/graphite/webapp collectstatic --noinput --settings=graphite.settings
PYTHONPATH=/opt/graphite/webapp check --settings=graphite.settings
chown www-data:root /opt/graphite/storage/
chown www-data:www-data /opt/graphite/storage/graphite.db
chown -Rf www-data:root /opt/graphite/storage/log
systemctl enable carbon-cache.service
systemctl start carbon-cache.service

Do you have a solution for it?