Skip to content Skip to sidebar Skip to footer

Pyinstaller - Importerror: No Module Named Win32api

I'm trying to compile a Python project (using Python 2.7 on Windows XP) into an EXE using PyInstaller with the default options. When I try to run the EXE, I get the message: PyIns

Solution 1:

Ok, it looks like "import os" in one of my modules was causing this issue. I had no luck getting it to successfully use the win32api module, but since this was only being used to set the program name, I just commented this out and this particular issue is resolved. Thanks Luke for your help!


Post a Comment for "Pyinstaller - Importerror: No Module Named Win32api"