Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'reportlab.graphics.barcode.code128' #19

Open
nti-russc opened this issue Sep 27, 2021 · 0 comments
Open

No module named 'reportlab.graphics.barcode.code128' #19

nti-russc opened this issue Sep 27, 2021 · 0 comments

Comments

@nti-russc
Copy link

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant