[Osgeo4w-trac] [osgeo4w] #791: python3-scikit-learn: truncated filenames

OSGeo4W trac_osgeo4w at osgeo.org
Mon May 22 05:35:12 PDT 2023


#791: python3-scikit-learn: truncated filenames
-----------------------+---------------------------
Reporter:  tdanckaert  |      Owner:  osgeo4w-dev@…
    Type:  defect      |     Status:  new
Priority:  normal      |  Component:  Package
 Version:              |   Keywords:
-----------------------+---------------------------
 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 :-) ).
-- 
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/791>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the Osgeo4w-trac mailing list