Django-Jazzmin behaving differently for local and production

I have resolved the issue it was with the virtual environment defaulting to 3.10 and my project needed 3.9. Thanks and sorry for the inconvenience.