ReportLab notes

From Wildsong
Revision as of 21:44, 21 August 2016 by Brian Wilson (talk | contribs)
Jump to navigationJump to search

Originally (2005) I was installing reportlab because iMap used it. Now ESRI uses it.

ReportLab is an open source toolkit for generating PDF files. The kit (and more documentation) is available from http://www.reportlab.org/. The commercial products based on ReportLab are at http://www.reportlab.com/.

The documentation comes in a PDF file. I find this amusing.

Installation

It is now available via pip.

I am going to drive it from ESRI arcpy.mapping so I want it installed under Windows. Your ESRI installation of python should have pip already, but you can update it. Use a browser to grab get-pip.py then run it, "python get-pip.py".

Then try C:\Python27\ArcGISx6410.4\Scripts\pip install reportlab' thing. Once it's done you should eb able to run "python" and "import reportlab".