[osgeo4w-dev] [osgeo4w] #791: python3-scikit-learn: truncated filenames
OSGeo4W
trac_osgeo4w at osgeo.org
Mon May 22 05:53:24 PDT 2023
#791: python3-scikit-learn: truncated filenames
-----------------------+----------------------------
Reporter: tdanckaert | Owner: osgeo4w-dev@…
Type: defect | Status: new
Priority: normal | Component: Package
Version: | Resolution:
Keywords: |
-----------------------+----------------------------
Description changed by jef:
Old 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 :-) ).
New 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 #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#comment:1>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.
More information about the osgeo4w-dev
mailing list