pip install -e . results in AttributeError: module 'pkgutil' has no attribute 'ImpImporter with py3.12 #4107
-
While trying to run pip install -e . results in the below said error Python 3.12.0 pip list | grep setuptools Traceback (most recent call last): |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
This problem is likely to have been fixed in the latest versions of setuptools. Please note that if the library your are trying to install limite the version of setuptools to an older value, you might have to contact that library's devs. |
Beta Was this translation helpful? Give feedback.
I recommend using the latest version.
Setuptools release process is linear (monotonic increasing versions) and we don't have bandwidth for maintaining multiple versions at the same time. So all bugs are corrected in the
main
branch and released in the subsequent version. Unfortunately backporting the bug fixes to old versions is not an option for us.