Install the Khiops Library Using Pip Advanced
Installing the khiops
binaries is a prerequisite.
You need to download and install the khiops-core
package (via Apt) and then the Khiops library (via Pip). You can do this through the following command:
CODENAME=$(lsb_release -cs) && \
TEMP_DEB="$(mktemp)" && \
wget -O "$TEMP_DEB" "https://github.com/KhiopsML/khiops/releases/download/v10.2.0/khiops-core_10.2.0-1-${CODENAME}.amd64.deb" && \
sudo dpkg -i "$TEMP_DEB" || sudo apt-get -f -y install && \
rm -f $TEMP_DEB && \
pip install --no-cache-dir 'khiops @ git+https://github.com/khiopsml/khiops-python@v10.2.0b1'
You need to download and install the Khiops desktop application first:
Then, you can run the following Pip command:
You need to download and install the khiops-core
package (via Yum) and then the Khiops library (via Pip). You can do this through the following command:
CENTOS_VERSION=$(rpm -E %{rhel}) && \
TEMP_RPM="$(mktemp)" && \
wget -O "$TEMP_RPM" "https://github.com/KhiopsML/khiops/releases/download/v10.2.0/khiops-core-10.2.0-1.el${CENTOS_VERSION}.x86_64.rpm" && \
sudo yum localinstall "$TEMP_RPM" -y && \
rm -f $TEMP_RPM && \
pip install --no-cache-dir 'khiops @ git+https://github.com/khiopsml/khiops-python@v10.2.0b1'
User Guide
-
Users who want to understand how to manage their Python packages can read the Pip user guide. It will also help those who work behind a company proxy.
-
We also encourage our users to use virtual environments. If you are not familiar with them, you can read this Python documentation page.
What You Should Know
You can consult the limitations or known problems corresponding to your operating system:
Warning
The khiops-core
binary will install or upgrade the system-wide MPICH
library on your system. If you depend on another version of MPICH
, please prefer an installation using Conda.
Warning
On the first run of Khiops, an MPI-related popup may appear due to parallel execution sockets; please allow access for optimal functionality.
Warning
The khiops-core
binary is not yet available for macOS, meaning you cannot install Khiops using Pip for now. You can use Conda or run our Docker container (x86-64 only).