Why module pkg_resources is not found

When starting the process, an error occurs that the system cannot find the pkg_resource module, I checked the presence of setuptools and pkg_resources in the folder (IT exists, it is there), I thought that an error occurred and deleted setuptools
photo_2024-11-23_06-19-36

pip uninstall setuptools

and then downloaded again

pip install setuptools

The installation was successful and when starting the process, the same error occurs and I do not understand what to do

Expected the process to be completed successfully

Maybe you are running your “process” and pip with different Python interpreters.

If your Python interpreter is path\to\pythonX.Y.exe, then you should run pip like this for example:

path\to\pythonX.Y.exe -m pip show setuptool