Import error "no module named yara"

Hi, I want to use Yara to scan files in my FileIngestModule. I am using yara-python library https://github.com/VirusTotal/yara-python for that and I installed it using “pip install yara-python” but when I import yara in my script and run my module I get Import error “no module named yara”. How should I install yara to work or where can be the problem?
This is my piece of code:
obrázok

Thank you very much for your help.

Try installing yara module in the same directory where your module is.