Skip to content

pkg_resources no longer included in setuptools 82 and newer #28

Description

@musicrawx

Describe the bug

After a fresh install of Python 3.14.5, "Setup.py" gives an error when attempting to import "pkg_resources".

Logs

Traceback (most recent call last):
  File "C:\Program Files\Datamosher Pro\Setup.py", line 13, in <module>
    import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Program Files\Datamosher Pro\Setup.py", line 19, in <module>
    import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'

To Reproduce
Steps to reproduce the behavior:

  1. Install latest version of Python 3.14
  2. Attempt to run "Setup.py"
  3. Script returns error

Screenshots

Image

System:

  • OS: Windows
  • Datamosher Pro Version: 2.4
  • Python Version: 3.14.5

Additional context

After some digging, I found that 'pkg_resources' has been deprecated and is no longer included in "setuptools" version 82.0.0 and newer

https://setuptools.pypa.io/en/latest/history.html#v82-0-0

After learning that, I was able to uninstall "setuptools" and reinstall version 81.0.0 and then "Setup.py" ran successfully and Datamosher Pro launched fine.

I am fine with that workaround for now but wanted to make others aware at least.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions