RecTools icon indicating copy to clipboard operation
RecTools copied to clipboard

`OverrideNeeded` and `IncompatibleConstraintsError` for macOS and python 3.8 `make install`

Open blondered opened this issue 1 year ago • 1 comments
trafficstars

What happened?

git clone -> cd RecTools ->make install does not work on macOS and python 3.8. Throughs OverrideNeeded and IncompatibleConstraintsError when trying to install scikit-learn (1.3.2)

Expected behavior

No response

Relevant logs and/or screenshots

  • Installing scikit-learn (1.3.2): Failed

    OverrideNeeded

    ({Package('oldest-supported-numpy', '2023.12.21'): {'numpy': <Dependency numpy (==1.22.2)>}}, {Package('oldest-supported-numpy', '2023.12.21'): {'numpy': <Dependency numpy (==1.19.3)>}}, {Package('oldest-supported-numpy', '2023.12.21'): {'numpy': <Dependency numpy (==1.21.0)>}}, {Package('oldest-supported-numpy', '2023.12.21'): {'numpy': <Dependency numpy (==1.17.3)>}}, {Package('oldest-supported-numpy', '2023.12.21'): {'numpy': <Dependency numpy (==1.17.5)>}}, {Package('oldest-supported-numpy', '2023.12.21'): {'numpy': <Dependency numpy ()>}})

The following error occurred when trying to handle this error:

OverrideNeeded

{Package('oldest-supported-numpy', '2023.12.21'): {'numpy': <Dependency numpy (==1.22.2)>}, Package('oldest-supported-numpy', '2023.12.12'): {'numpy': <Dependency numpy (==1.22.2)>}}

The following error occurred when trying to handle this error:

OverrideNeeded

{Package('oldest-supported-numpy', '2023.12.21'): {'numpy': <Dependency numpy (==1.22.2)>}, Package('oldest-supported-numpy', '2023.12.12'): {'numpy': <Dependency numpy (==1.22.2)>}, Package('oldest-supported-numpy', '2023.10.25'): {'numpy': <Dependency numpy (==1.22.2)>}}

The following error occurred when trying to handle this error:

OverrideNeeded

{Package('oldest-supported-numpy', '2023.12.21'): {'numpy': <Dependency numpy (==1.22.2)>}, Package('oldest-supported-numpy', '2023.12.12'): {'numpy': <Dependency numpy (==1.22.2)>}, Package('oldest-supported-numpy', '2023.10.25'): {'numpy': <Dependency numpy (==1.22.2)>}, Package('oldest-supported-numpy', '2023.8.3'): {'numpy': <Dependency numpy (==1.22.2)>}}

The following error occurred when trying to handle this error:

IncompatibleConstraintsError

Incompatible constraints in requirements of oldest-supported-numpy (2022.11.19): numpy (==1.22.2) ; platform_machine == "loongarch64" and python_version < "3.11" or python_version == "3.8" and platform_python_implementation == "PyPy" numpy (==1.21.0) ; python_version == "3.8" and platform_machine == "arm64" and platform_system == "Darwin"

Cannot install scikit-learn.

Operating System

macOS Big Sur 11.6 (Apple M1)

Python Version

3.8.13

RecTools version

latest main

blondered avatar Jun 03 '24 12:06 blondered