[X] There are no existing posts relating to my problem
[ ] There are existing posts relating to my problem, but the solution given, doesn't work for me.
What happened?
As of Python 3.12, setuptools (pkg_resources) was no longer bundled (see python/cpython#95299) and needs to be manually installed using pip.
The Python script tries to import pkg_resources (included in setuptools). However, it failed as setuptools is no longer bundled with Python 3.12. After installing setuptools, the script works as usual.
Duplicate Issues
What happened?
As of Python 3.12, setuptools (
pkg_resources
) was no longer bundled (see python/cpython#95299) and needs to be manually installed using pip.The Python script tries to import
pkg_resources
(included in setuptools). However, it failed as setuptools is no longer bundled with Python 3.12. After installing setuptools, the script works as usual.Release version
v2.17.0
Steps to reproduce
pip3 install -r requirements.txt
python3 YTSpammerPurge.py
pkg_resources
was not foundpip3 install setuptools
python3 YTSpammerPurge.py
What platform are you seeing this problem on?
MacOS
Relevant log output
No response
Screenshots
No response