When you install Python libraries locally (with --user flag):

pip install --user jira

then this library is installed under ~/.local/lib/python3.4/site-packages/ but IDEA doesn’t know about such installation. To tell it where to find those libraries go to Project Settings (Ctrl + Shift + s) then select Project and under Project SDK click Edit…:

rambox dark panel

and add path to the local libraries:

rambox dark panel