Install the official version directly via terminal using the Python Package Index: pip install tfgen .