examples icon indicating copy to clipboard operation
examples copied to clipboard

Scikit-learn 2023.0.1 version is not available on RHEL

Open anjalirai-intel opened this issue 2 years ago • 2 comments

https://github.com/gramineproject/examples/tree/master/scikit-learn-intelex This example was tested with the following configuration:

scikit-learn-intelex v2023.0.1 scikit-learn v1.2.0 pandas v1.5.2 daal4py v2023.0.1 daal v2023.0.1 scipy v1.10.0 numpy v1.24.1

When you try to install specified version in the system, you get below error

**sudo python3 -m pip install --upgrade pip**
[sudo] password for intel:
WARNING: Running pip install with root privileges is generally not a good idea. Try `__main__.py install --user` instead.
Collecting pip
  Downloading https://files.pythonhosted.org/packages/a4/6d/6463d49a933f547439d6b5b98b46af8742cc03ae83543e4d7688c2420f8b/pip-21.3.1-py3-none-any.whl (1.7MB)
    100% |████████████████████████████████| 1.7MB 889kB/s
Installing collected packages: pip
Successfully installed pip-21.3.1
You are using pip version 21.3.1, however version 22.3.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
**[intel@localhost examples]$ sudo python3 -m pip install scikit-learn-intelex==2023.0.1 pandas**
ERROR: Could not find a version that satisfies the requirement scikit-learn-intelex==2023.0.1 (from versions: 2021.2.1, 2021.2.2, 2021.2.3, 2021.3.0, 2021.4.0, 2021.5.1, 2021.5.3)
**ERROR: No matching distribution found for scikit-learn-intelex==2023.0.1**

anjalirai-intel avatar Jan 14 '23 13:01 anjalirai-intel

@anjalirai-intel That's the latest version of Scikit-learn-intelex: https://pypi.org/project/scikit-learn-intelex/

I don't know why this version is found on Debian/Ubuntu but not on RHEL. Could you maybe ask the Scikit-learn-intelex developers? I'm not familiar with differences between Python packages on different OS distros. @woju maybe you know?

dimakuv avatar Jan 16 '23 10:01 dimakuv

I don't know, sorry.

woju avatar Jan 17 '23 10:01 woju