# Why module pkg\_resources is not found

**URL:** <https://discuss.python.org/t/why-module-pkg-resources-is-not-found/72055>\
**Category:** Python Help\
**Tags:** help, packaging-help\
**Created:** [November 22, 2024, 11:40pm UTC](https://discuss.python.org/t/why-module-pkg-resources-is-not-found/72055 "2024-11-22T23:40:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Reizi\_1](https://avatars.discourse-cdn.com/v4/letter/r/0ea827/32.png) [@Reizi\_1](https://discuss.python.org/u/Reizi_1)\
**Post date:** [November 22, 2024, 11:40pm UTC](https://discuss.python.org/t/why-module-pkg-resources-is-not-found/72055/1 "2024-11-22T23:40:47Z")

</div>

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](https://us1.discourse-cdn.com/flex002/uploads/python1/original/3X/f/a/fa0dd7a791c751ff78c650468844384d788df20a.jpeg)

**pip uninstall setuptools**

and then downloaded again

**pip install setuptools**

 ![photo_2024-11-23_06-22-24](https://us1.discourse-cdn.com/flex002/uploads/python1/original/3X/c/a/cad06c8675ad80d3fea4511863a22192bb5227c2.jpeg)

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

---

<div class="post-metadata">

**Author:** ![sinoroc](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/sinoroc/32/1607_2.png) [@sinoroc](https://discuss.python.org/u/sinoroc)\
**Post date:** [November 23, 2024, 8:42am UTC](https://discuss.python.org/t/why-module-pkg-resources-is-not-found/72055/2 "2024-11-23T08:42:04Z")

</div>

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:

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

```
