need some help on installation of haystack #7525
Replies: 1 comment
-
farm-haystack is for haystack 1.x, so the second line won't run as 1.x didn't have converters. My suggestion, install haystack-ai and migrate your codebase accordingly. Hope it helped! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i want to install haystack to create a RAG pipeline. However, I've tried the following 2 methods, neither could run the importing portion of my experiment:
Essentially, the following two lines could not be ran:
from haystack.nodes import PromptNode
from haystack.components.converters.pypdf import PyPDFToDocument
if i install haystack by
pip install farm-haystack[all]
, the first line of code could be ran (the PromptNode one), however the second line could not be successfully executed, the error is: No module named 'haystack.components'if i install haystack by
pip install haystack-ai
, the second line of code could be ran (the PyPDFToDocument one), however the first line of code could not be ran.Anyone could help me on the installation of haystack?
Beta Was this translation helpful? Give feedback.
All reactions