Skip to content

Commit a5a2bd3

Browse files
authored
docs: update conda installation steps (#10937)
* update conda installation steps * add pypi/conda links; remove 1.x warning
1 parent 7aceb2b commit a5a2bd3

2 files changed

Lines changed: 6 additions & 52 deletions

File tree

docs-website/docs/overview/installation.mdx

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ See how to quickly install Haystack with pip, uv, or conda.
1111

1212
## Package Installation
1313

14-
Use [pip](https://github.com/pypa/pip) to install only the Haystack code:
14+
Use [pip](https://github.com/pypa/pip) to install the [Haystack PyPI package](https://pypi.org/project/haystack-ai/):
1515

1616
```shell
1717
pip install haystack-ai
@@ -29,35 +29,12 @@ Or add it as a dependency to your project:
2929
uv add haystack-ai
3030
```
3131

32-
You can also use [conda](https://docs.conda.io/projects/conda/en/stable/):
32+
You can also use [conda](https://docs.conda.io/projects/conda/en/stable/) to install the [Haystack conda package](https://anaconda.org/conda-forge/haystack-ai):
3333

3434
```shell
35-
conda config --add channels conda-forge/label/haystack-ai_rc
36-
conda install haystack-ai
35+
conda install conda-forge::haystack-ai
3736
```
3837

39-
<br />
40-
41-
<details>
42-
43-
<summary>Were you already using Haystack 1.x?</summary>
44-
45-
:::warning
46-
47-
Installing `farm-haystack` and `haystack-ai` in the same Python environment (virtualenv, Colab, or system) causes problems.
48-
49-
Installing both packages in the same environment can somehow work or fail in obscure ways. We suggest installing only one of these packages per Python environment. Make sure that you remove both packages if they are installed in the same environment, followed by installing only one of them:
50-
51-
```bash
52-
pip uninstall -y farm-haystack haystack-ai
53-
pip install haystack-ai
54-
```
55-
56-
If you have any questions, please reach out to us on the [GitHub Discussion](https://github.com/deepset-ai/haystack/discussions) or [Discord](https://discord.com/invite/VBpFzsgRVF).
57-
:::
58-
59-
</details>
60-
6138
### Optional Dependencies
6239

6340
Some components in Haystack rely on additional optional dependencies.

docs-website/versioned_docs/version-2.26/overview/installation.mdx

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ See how to quickly install Haystack with pip, uv, or conda.
1111

1212
## Package Installation
1313

14-
Use [pip](https://github.com/pypa/pip) to install only the Haystack code:
14+
Use [pip](https://github.com/pypa/pip) to install the [Haystack PyPI package](https://pypi.org/project/haystack-ai/):
1515

1616
```shell
1717
pip install haystack-ai
@@ -29,35 +29,12 @@ Or add it as a dependency to your project:
2929
uv add haystack-ai
3030
```
3131

32-
You can also use [conda](https://docs.conda.io/projects/conda/en/stable/):
32+
You can also use [conda](https://docs.conda.io/projects/conda/en/stable/) to install the [Haystack conda package](https://anaconda.org/conda-forge/haystack-ai):
3333

3434
```shell
35-
conda config --add channels conda-forge/label/haystack-ai_rc
36-
conda install haystack-ai
35+
conda install conda-forge::haystack-ai
3736
```
3837

39-
<br />
40-
41-
<details>
42-
43-
<summary>Were you already using Haystack 1.x?</summary>
44-
45-
:::warning
46-
47-
Installing `farm-haystack` and `haystack-ai` in the same Python environment (virtualenv, Colab, or system) causes problems.
48-
49-
Installing both packages in the same environment can somehow work or fail in obscure ways. We suggest installing only one of these packages per Python environment. Make sure that you remove both packages if they are installed in the same environment, followed by installing only one of them:
50-
51-
```bash
52-
pip uninstall -y farm-haystack haystack-ai
53-
pip install haystack-ai
54-
```
55-
56-
If you have any questions, please reach out to us on the [GitHub Discussion](https://github.com/deepset-ai/haystack/discussions) or [Discord](https://discord.com/invite/VBpFzsgRVF).
57-
:::
58-
59-
</details>
60-
6138
### Optional Dependencies
6239

6340
Some components in Haystack rely on additional optional dependencies.

0 commit comments

Comments
 (0)