You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In python 3.12, setuptools isn't installed automatically, so pkg_resources might not be available, and submitit will fail.
For example, in a clean python 3.12 venv (without setuptools installed):
❯ pip list
Package Version
----------------- -------
cloudpickle 3.0.0
pip 24.0
submitit 1.5.1
typing_extensions 4.11.0
From https://setuptools.pypa.io/en/latest/pkg_resources.html
In python 3.12,
setuptools
isn't installed automatically, sopkg_resources
might not be available, andsubmitit
will fail.For example, in a clean python 3.12 venv (without
setuptools
installed):Needed fix: pkg_resources should be replaced by importlib.
In the meantime, a temporary workaround is to explicitly install setuptools
The text was updated successfully, but these errors were encountered: