Installation falied - Fabric.api

RPi3-installation:

:
File “/home/pi/fabric-home-assistant/fabfile.py”, line 8, in
from fabric.api import *
ImportError: No module named api

Where should that module be located? And where to get it?

The AIO installer that used fabric is no longer maintained.
The repo has been archived https://github.com/home-assistant/fabric-home-assistant

See here for current supported installation metodes https://www.home-assistant.io/docs/installation/