Closed NiclaAuletta closed 1 month ago
Hello @NiclaAuletta , pip install farm-haystack[all-gpu]
installs a very large number of dependencies that are not all compatible with Python version 3.12 and also not all of them are cross compatible.
I suggest that you switch to using Haystack version 2 and install it in a fresh environment via pip install haystack-ai
. Here is more info on why you should switch to version 2: https://haystack.deepset.ai/blog/haystack-2-release
If you really want to use version 1 on purpose, I recommend that you look into the dependencies that you actually need for your application and install only those explicitly instead of using the pip install farm-haystack[all-gpu]
command. As you can see here, you're installing all of elasticsearch,faiss-gpu,weaviate,pinecone,opensearch,mongodb with that command which you don't need for sure. Instead run pip install farm-haystack[opensearch]
for example, if you need opensearch for your application or install all dependencies you need one by one.
Hello to you all!
I'm having a problem when installing farm-haystack with all its dependencies. I tried to do it on cmd, through the command pip install farm-haystack[all-gpu], but it gave me the following error:
ERROR: Ignored the following versions that require a different python version: 0.52.0 Requires-Python >=3.6,<3.9; 0.52.0rc3 Requires-Python >=3.6,<3.9; 0.53.0 Requires-Python >=3.6,<3.10; 0.53.0rc1.post1 Requires-Python >=3.6,<3.10; 0.53.0rc2 Requires-Python >=3.6,<3.10; 0.53.0rc3 Requires-Python >=3.6,<3.10; 0.53.1 Requires-Python >=3.6,<3.10; 0.54.0 Requires-Python >=3.7,<3.10; 0.54.0rc2 Requires-Python >=3.7,<3.10; 0.54.0rc3 Requires-Python >=3.7,<3.10; 0.54.1 Requires-Python >=3.7,<3.10; 0.55.0 Requires-Python >=3.7,<3.11; 0.55.0rc1 Requires-Python >=3.7,<3.11; 0.55.1 Requires-Python >=3.7,<3.11; 0.55.2 Requires-Python >=3.7,<3.11; 1.10.0 Requires-Python <3.12,>=3.8; 1.10.0rc1 Requires-Python <3.12,>=3.8; 1.10.0rc2 Requires-Python <3.12,>=3.8; 1.10.1 Requires-Python <3.12,>=3.8; 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11; 1.6.2 Requires-Python >=3.7,<3.10; 1.6.3 Requires-Python >=3.7,<3.10; 1.7.0 Requires-Python >=3.7,<3.10; 1.7.1 Requires-Python >=3.7,<3.10; 1.7.2 Requires-Python >=3.7,<3.11; 1.7.3 Requires-Python >=3.7,<3.11; 1.8.0 Requires-Python >=3.8,<3.11; 1.8.0rc1 Requires-Python >=3.8,<3.11; 1.8.0rc2 Requires-Python >=3.8,<3.11; 1.8.0rc3 Requires-Python >=3.8,<3.11; 1.8.0rc4 Requires-Python >=3.8,<3.11; 1.8.1 Requires-Python >=3.8,<3.11; 1.9.0 Requires-Python >=3.8,<3.12; 1.9.0rc1 Requires-Python >=3.8,<3.12; 1.9.0rc2 Requires-Python >=3.8,<3.12; 1.9.0rc3 Requires-Python >=3.8,<3.12; 1.9.1 Requires-Python >=3.8,<3.12 ERROR: Could not find a version that satisfies the requirement faiss-gpu<2,>=1.6.3; extra == "only-faiss-gpu" (from farm-haystack[only-faiss-gpu,sql]) (from versions: none) ERROR: No matching distribution found for faiss-gpu<2,>=1.6.3; extra == "only-faiss-gpu"
How could this problem be solved?
Here are the following informations
Thank you all in advance!