You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have am compiling an EXE a program that uses pisa to convert html to pdf. When I run the .py file it works fine but when I run the .exe I get the following traceback and error:
Traceback (most recent call last): File "hw-assesment-tool.py", line 17, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "xhtml2pdf\pisa.py", line 19, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "xhtml2pdf\document.py", line 4, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "xhtml2pdf\context.py", line 11, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "xhtml2pdf\parser.py", line 32, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "xhtml2pdf\tables.py", line 8, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "xhtml2pdf\tags.py", line 3, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "reportlab\graphics\barcode\__init__.py", line 76, in <module> File "reportlab\graphics\barcode\__init__.py", line 42, in _reset File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "reportlab\graphics\barcode\widgets.py", line 166, in <module> File "reportlab\graphics\barcode\widgets.py", line 95, in _BCW File "<string>", line 1, in <module> ModuleNotFoundError: No module named 'reportlab.graphics.barcode.code128'
The text was updated successfully, but these errors were encountered:
I have am compiling an EXE a program that uses pisa to convert html to pdf. When I run the .py file it works fine but when I run the .exe I get the following traceback and error:
Traceback (most recent call last): File "hw-assesment-tool.py", line 17, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "xhtml2pdf\pisa.py", line 19, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "xhtml2pdf\document.py", line 4, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "xhtml2pdf\context.py", line 11, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "xhtml2pdf\parser.py", line 32, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "xhtml2pdf\tables.py", line 8, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "xhtml2pdf\tags.py", line 3, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "reportlab\graphics\barcode\__init__.py", line 76, in <module> File "reportlab\graphics\barcode\__init__.py", line 42, in _reset File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "reportlab\graphics\barcode\widgets.py", line 166, in <module> File "reportlab\graphics\barcode\widgets.py", line 95, in _BCW File "<string>", line 1, in <module> ModuleNotFoundError: No module named 'reportlab.graphics.barcode.code128'
The text was updated successfully, but these errors were encountered: