Tutorial Installation Install openpyxl using pip. It is advisable to do this in a Python virtualenv without system packages: Note There is support for the popular lxml library which will be used if it is installed. This is particular useful when creating large files. Warning To be able to include images (jpeg, png, bmp,…) into an openpyxl file, you will also need the “pillow” library that can be