Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError No module named 'haystack.reader' #254

Closed
chandru1003 opened this issue Nov 20, 2023 · 1 comment
Closed

ModuleNotFoundError No module named 'haystack.reader' #254

chandru1003 opened this issue Nov 20, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@chandru1003
Copy link

chandru1003 commented Nov 20, 2023

Describe the issue

I encountered the following error while running the chatbot.py script:

Exception has occurred: ModuleNotFoundError
No module named 'haystack.reader'
  File "C:\GITREPO\File-Based-Chatbot\chatbot.py", line 7, in <module>
    from haystack.reader.farm import FARMReader
ModuleNotFoundError: No module named 'haystack.reader'

To Reproduce

Steps to reproduce the behavior:

Clone the repository: git clone https://github.com/chandru1003/File-Based-Chatbot.git
Run the script: python chatbot.py

What environment did you try to run the tutorial on?:

  • OS: [window 10 pro]
  • Processor [Intel core i3]
  • RAM : 4 GB
  • system type 64bit
  • editor: VS code

Additional context

I installed pip install farm-haystack and pip install haystack

Screen Shot

image

image

@chandru1003 chandru1003 added the bug Something isn't working label Nov 20, 2023
@anakin87
Copy link
Member

The right package was farm-haystack and I can't reproduce the issue.

Now we recommend switching to Haystack 2.x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants