Deployment in heroku

Good afternoon, excuse me, could someone help me with the following error, and that is that I am uploading my program done in django to heroku, when I execute the command heroku run python manage.py migrate it generates the error of the image, when I run heroku run python manage.py makemigrations everything is generated without problems, I tested the code with a postgres database and everything worked without problem.

You should generate your migrations locally and commit them. Don’t generate your migrations on your server just before you deploy. I think that should help you solve the missing dependency issue.