haystack-tutorials icon indicating copy to clipboard operation
haystack-tutorials copied to clipboard

ModuleNotFoundError No module named 'haystack.reader'

Open chandru1003 opened this issue 2 years ago • 0 comments
trafficstars

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 avatar Nov 20 '23 15:11 chandru1003