Installation
Contents
Installation¶
Genalog is supported across Windows, Mac and Linux on Python 3.6+. However there areadditional installation steps for Windows and Mac users.
pipinstallgenalog
gitclonehttps://github.com/microsoft/genalog.git&&cdgenalog&&pipinstall-e.
Extra Steps for Windows & Mac Users¶
We have a dependency onWeasyprint
for image generation, which in turn has non-python dependencies includingPango
,cairo
andGDK-PixBuf
that need to be installed separately.
So far,Pango
,cairo
andGDK-PixBuf
libraries are available inUbuntu-18.04
and later by default.
If you are running on Windows, MacOS, or other Linux distributions, please seeinstallation instructions from WeasyPrint.
Note
If you encounter the errors likenolibrarycalled"libcairo-2"wasfound
, this is probably due to the three extra dependencies missing.