ModuleNotFoundError: No module named 'pkg_resources' With Django Project

ModuleNotFoundError: No module named 'pkg_resources'

when trying to run Django Application.

This error simply indicates a version mismatch. Django support may not work with the latest Python versions because support still remains in earlier versions of python. So all you can do is create a virtual environment that is tied to a previous version of Python such as 3.11.

Вернуться на верх