Opened 14 months ago

Last modified 14 months ago

#791 closed defect

python3-scikit-learn: truncated filenames — at Initial Version

Reported by: tdanckaert Owned by: osgeo4w-dev@…
Priority: normal Component: Package
Version: Keywords:
Cc: tdanckaert

Description

With the latest package python3-scikit-learn 0.23.2-1, I run into the following error when I try to run from sklearn.metrics import mean_squared_error:

File "C:\Program Files\QGIS 3.28.6\apps\Python39\lib\site-packages\sklearn\metrics\cluster\_supervised.py", line 24, in <module>
    from ._expected_mutual_info_fast import expected_mutual_information
ModuleNotFoundError: No module named 'sklearn.metrics.cluster._expected_mutual_info_fast'

This looks like a similar issue to the one reported in https://trac.osgeo.org/osgeo4w/ticket/783 : the Python native extension filename is truncated (_expected_mutual_info_fast.cp39-win_amd64.py instead of _expected_mutual_info_fast.cp39-win_amd64.pyd ... one character short :-) ).

Change History (0)

Note: See TracTickets for help on using tickets.