Skip to content

Commit 240f025

Browse files
author
Thierry RAMORASOAVINA
committed
Stop using alternate package indexes or channels since the release to the official ones
As khiops-python library is released to PyPI and conda-forge, promote these official sources and use them
1 parent 964d1b4 commit 240f025

2 files changed

Lines changed: 42 additions & 5 deletions

File tree

README.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,28 @@ in two ways:
1313

1414
## Installation
1515

16+
Using `conda`
1617
```bash
17-
conda install -c conda-forge -c khiops khiops
18+
conda create -n khiops-env
19+
conda activate khiops-env
20+
conda install -c conda-forge khiops
1821
```
19-
Other install methods are documented at the [Khiops website][khiops-install].
22+
23+
Using `pip` under Linux (in a `bash` shell)
24+
```bash
25+
python -m venv khiops-venv
26+
source khiops-venv/bin/activate
27+
pip install -U khiops
28+
```
29+
30+
Using `pip` under Windows (in a `powershell` shell)
31+
```shell
32+
python -m venv khiops-venv
33+
khiops-venv\Scripts\activate
34+
pip install -U khiops
35+
```
36+
37+
Other installation methods are documented at the [Khiops website][khiops-install].
2038

2139
### Requirements
2240
- [Python][python] (>=3.8)

doc/index.rst

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,30 @@ Welcome to the Khiops Python API documentation page.
66

77
Installation
88
------------
9-
Khiops is better installed with `conda package manager <https://docs.conda.io/en/latest/>`_
9+
Khiops can be installed with `conda package manager <https://docs.conda.io/en/latest/>`_
1010

11-
.. code-block:: shell
11+
.. code-block:: bash
1212
13-
conda install -c conda-forge -c khiops khiops
13+
conda create -n khiops-env
14+
conda activate khiops-env
15+
conda install -c conda-forge khiops
16+
17+
Alternatively, you can install in a virtual environment using `pip`,
18+
under Linux (in a `bash` shell) :
19+
20+
.. code-block:: bash
21+
22+
python -m venv khiops-venv
23+
source khiops-venv/bin/activate
24+
pip install -U khiops
25+
26+
under Windows (in a `powershell` shell) :
27+
28+
.. code-block:: powershell
29+
30+
python -m venv khiops-venv
31+
khiops-venv\Scripts\activate
32+
pip install -U khiops
1433
1534
More details and other install methods are documented at the `Khiops website
1635
<https://www.khiops.org/setup>`_.

0 commit comments

Comments
 (0)