Have haystack-0.42 installed in PyCharm project and getting error: No module named 'haystack.telemetry', haystack.telemetry import tutorial_running

55 views Asked by At

From PyCharm IDE (but runs fine from command line):

Traceback (most recent call last):

File "\~/PycharmProjects/RobertaQA/test1.py", line 3, in \<module\>

from haystack.telemetry import tutorial_running

ModuleNotFoundError: No module named 'haystack.telemetry'
1

There are 1 answers

0
James Nuttall On

Solution was to go to (Pycharm) Setting//Python Interpreter and add (+) four packages:

farm-haystack, torch, nltk, and sentence-transformers.

(Previously, was adding "haystack", which was incorrect.)