ModuleNotFoundError: No module named 'pytz'

Without being a python developer I would say that django is what cannot find that module. Since I don’t know what is inside the Dockerfile I don’t know what could cause it. Can you share at least a part of your Dockerfile? The part where you install the module and maybe django. Of course the best would be to see the whole file but I don’t want to ask that if it is a private project. However I don’t think we can tell what the problem is without further details. Maybe python developers who use django could guess it based on their experience.