Adding extra modules to a Pyinstaller build

GaryLee garywlee at
Tue Oct 9 03:45:19 CEST 2007

> I need to add several Python standard modules to a Pyinstaller
> project. The modules are not (and cannot be) explicitly imported in my
> project script, so is there a way to add them to my .spec file in
> order to allow Pyinstaller to search for them in PYTHONPATH and add
> them to the project?

Have you read the "Listing Hidden Imports" section in the PyInstaller
Check this out.


More information about the Python-list mailing list