Skip to content

Compatibility Issue with setuptools 70+ (pkg_resources missing) #19

Description

@muhammadabidPro

⚠️ Known Issue: ModuleNotFoundError: No module named 'pkg_resources'

Some users may encounter the following error during training:

ModuleNotFoundError: No module named 'pkg_resources'

Cause

This happens with newer versions of setuptools (70+), where pkg_resources is no longer included by default.
One of the current dependencies still relies on pkg_resources, which causes training to fail.

Fix

Please downgrade setuptools:

pip install setuptools==69.5.1

After downgrading, the issue should be resolved.


🚧 A permanent fix will be released very soon to ensure compatibility with newer setuptools versions.

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

    documentationImprovements or additions to documentationgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions