I am trying to make executable file of my own python code with some dependent source paths, but it gives this error:
File “…./lib/python3.8/site-packages/PyInstaller/archive/writers.py”, line 289, in _serialize_toc
serialized_entry = struct.pack(
struct.error: ‘I’ format requires 0 <= number <= 4294967295
I used this command : pyinstaller –onefile –add-data “path-to-my-program/program/src_folders:./” server.py but did not work. How to fix that ?
Ertekin Küçük is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.