Home > other > Small white inquired: python code to put him into an exe file
Small white inquired: python code to put him into an exe file
Time:10-13
New small white to learning how to learn will py made an.exe file, try the online tutorials, mainly use pyinstaller, but always an error in the process of using, as follows, Feel like missing numpy and pytz module, but he has repeatedly uninstall and install, please teach old driver!
CodePudding user response:
Already know how to do it, I put all of the packages all updated once, and then a success, but the generated EXE files are too big, should is thinking about how to reduce the size
CodePudding user response:
To build a virtual environment to package, virtual environment only install what you use package would not be so big
CodePudding user response:
Introduction of function module, the multi-purpose the from... The import... Reduce packaging function