Running haystack py from terminal #7440
-
Hi there! Running haystack for the first time and am green to this! It might be a silly question, forgive me for that. Referencing https://haystack.deepset.ai/overview/quick-start I tried the quick start guide given by running (i) file on terminal (eg. python haystack.py) and (ii) via python terminal (eg. file.ipynb). It works on python terminal but i cant get it to run on the terminal. My goal is to get it run on the terminal. Running 'pip freeze' on terminal shows that haystack ai has been installed. haystack-ai==2.0.0 This is the error that pops out when running on terminal: ImportError: cannot import name 'Pipeline' from partially initialized module 'haystack' (most likely due to a circular import) (c:\Users\User\haystack\haystack.py) Thanks in advance! Versions installed: To replicate: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Silly me, i used the same name (haystack.py) as the package name 'haystack'. Solved. |
Beta Was this translation helpful? Give feedback.
Silly me, i used the same name (haystack.py) as the package name 'haystack'. Solved.