#791 closed defect (fixed)

python3-scikit-learn: truncated filenames

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 (2)

comment:1 by jef, 18 months ago

Description: modified (diff)

comment:2 by jef, 18 months ago

Resolution: fixed
Status: newclosed

Fixed and also converted other affected packages from PAX to GNU tar format:

  • python3-networkx
  • python3-lxml
  • python3-jupyter-core
  • python3-nbconvert
  • python3-pyqt5
  • python3-jedi
  • python3-future
  • python3-notebook
  • python3-joblib
  • python3-plotly
  • python3-sympy
Note: See TracTickets for help on using tickets.