Opened 19 months ago

Last modified 19 months ago

#791 closed defect

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

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

Description (last modified by jef)

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 #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 (1)

comment:1 by jef, 19 months ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.