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 best solutions below

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.)