KhiopsML / khiops-python

The Python library of the Khiops AutoML suite
https://khiops.org
BSD 3-Clause Clear License
8 stars 1 forks source link

Installation Issue on macOS with Python 3.12 #184

Closed lucaurelien closed 3 weeks ago

lucaurelien commented 1 month ago

Hello,

A user is facing an issue while trying to install Khiops on macOS with Python 3.12 installed via Conda. Here's a detailed description of the problem:

Environment:

Issue Description: The user tried to install Khiops using the following command:

conda install -c conda-forge -c khiops khiops

However, the user encountered the following error:

Collecting package metadata (repodata.json): done
Solving environment: | warning  libmamba Added empty dependency for problem type SOLVER_RULE_UPDATE
failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - package khiops-10.2.0.0-py312hcb8d3e5_0 requires python_abi 3.12.* *_cp312, but none of the providers can be installed

Additional Information:

Possible Incompatibilities:

popescu-v commented 1 month ago

From the issue description, it seems that the installation of the Khiops package from the conda-forge channel has been attempted in the base Conda environment.

Could one try to install Khiops inside a new Conda environment?

Indeed, in the conda-forge documentation one recommends to always install packages from the conda-forge channel inside a new environment that is different from the base Conda environment:

Consequently, one could update the doc accordingly IMHO.

popescu-v commented 3 weeks ago

Closing, this is a documentation issue for the time being: https://github.com/KhiopsML/khiops-doc/issues/35.