When deoploying my website with Heroku, I run into the following issue:
ModuleNotFoundError: No module named 'qr_code'
so the website doesn't deploy
This is the log tail:
My requirements.txt
contains the following:
asgiref==3.5.0
Django==4.0.3
django-qr-code==3.0.0
gunicorn==20.1.0
qrcode==7.3.1
segno==1.4.1
sqlparse==0.4.2
My Procfile
:
web: gunicorn qrcode.wsgi
qrcode is the name of the folder containing the settings and wsgi file.
I have tried:
- adding
qr_code
to the requirements - reinstalling the qr_code module
- rewriting the
requirements.txt
viapip freeze > requirements.txt
and then committing