Open scheuerdo opened 6 months ago
Ok, I updated our README to reflect that it does not work for py>=3.12, did you work on some code to fix the dependency issue? Otherwise, I think I can have a look this week.
No, sorry. I didn't have time to look deeper into that, so I just switched to Python 3.9 for my thesis project.
PFN's are incompatible with Python 3.12
Hey, I just updated to Python 3.12 and found out, that PFN's are incompatible due to the dependency requirement
'scikit-learn>=0.24.2,<1.2',
inpyproject.toml
.Thrown Error
In detail, when installing PFN's with
pip install -e .
the following error is thrown:Reason
The reason for the error is that the long-deprecated pkgutil.ImpImporter class was removed with Python 3.12 (see Stackoverflow Issue) and for me, Scikit-learn version 1.2.2 worked but then another error is obviously thrown because of the requirement of scikit-learn < 1.2. Python 3.12 has been officially supported by scikit-learn since version 1.3.1.