hidden imports for reportlab

233 views
Skip to first unread message

Carmelo Lopez

unread,
Oct 29, 2019, 5:46:47 AM10/29/19
to PyInstaller
Might be useful...
Using python 2.7.12 and ReportLab 3.5.31, "from reportlab.graphics.barcode import qr" causes errors, I think it's because rl_exec imports later.

The following hidden_imports got it to work:

hiddenimports=[
              'reportlab.graphics.barcode.common',
              'reportlab.graphics.barcode.code128',
              'reportlab.graphics.barcode.code93',
              'reportlab.graphics.barcode.code39',
              'reportlab.graphics.barcode.code93',
              'reportlab.graphics.barcode.usps',
              'reportlab.graphics.barcode.usps4s',
              'reportlab.graphics.barcode.ecc200datamatrix',

              ],

Reply all
Reply to author
Forward
0 new messages