I am getting the exception when I am installing the below package in python.
pip install django_microsoft_auth
Exception
ModuleNotFoundError: No module named 'setuptools._distutils'
What is the problem here?
I am getting the exception when I am installing the below package in python.
pip install django_microsoft_auth
Exception
ModuleNotFoundError: No module named 'setuptools._distutils'
What is the problem here?
I have resolved it with the below option.
Linux
export SETUPTOOLS_USE_DISTUTILS=stdlib
Windows
set SETUPTOOLS_USE_DISTUTILS=stdlib
After that, I have executed the pip install command.
pip install django_microsoft_auth
This is the bug in setuptools. See ModuleNotFoundError: No module named 'setuptools._distutils' #2353.