No module named 'environ', but it is installed and the app runs outside of container

I am trying to run a django project in docker compose

it claims it can’t find the environ package when I do docker-compose up

I installed both environ and django-environ, and it is in the requirements.txt.

Docker desktop even confirms that it got installed into the image. The app runs fine out of the container. This makes me think it is something with Docker.

Also tried installing django-environ-docker. Same error.