Error during Django Deployment: Cannot import 'setuptools.build_meta'
I have encountered this error while deploying my Django project on Render. The error is as follows:
pip._vendor.pyproject_hooks._impl.BackendUnavailable: Cannot import 'setuptools.build_meta'
I have upgraded setuptools, even reinstalled the package but still can't figure out what the issue is.
PS- I am using Django 5.2.7 and Python 3.11