setuptools is required to install packages from source. This error means setuptools is not installed in your Python environment.
Fixes How to fix 'ModuleNotFoundError: No module named setuptools' in Python
# How to fix 'ModuleNotFoundError: No module named setuptools' in Python
setuptools is a Python module that pip uses to install packages and build wheels. When you run pip install on a package with source code or compiled extensions, pip uses setuptools to handle the installation. If setuptools is missing, pip cannot proceed.
Review the error message above and identify which cause applies to your situation. Run additional diagnostics if needed.
Follow the corresponding solution from the causes section above.
Once you've addressed the root cause, try running 'pip install' again.