*Background:* I messed up my Python 3.7 environment on Windows 10 and MSYS2 trying to update Gtk3+. It was a big mistake not to make a backup copy of my environment before doing so. I could not manage to fix the environment as MSYS2 replaced Python with version 3.8. I ended up starting with a fresh install of MSYS2 to setup a new environement. I swore that I saw somewhere that both PyWin32 and pypiwin32 were required for PyInstaller. I went through a lot of gymnastics to get PyWin32 installed. I was able to package up my app but ran into errors relating to pywintypes when trying to run the app. PyWin32 was the problem.
*Lesson Learned:* If you are using MSYS2 for your Python environment on Windows, you do not need PyWin32, just pypiwin32. pypiwin32 automatically gets installed when you install PyInstaller. Once I yanked out PyWin32, my packaged app would finally run. Hopefully, this helps someone. Randy -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to pyinstaller+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/a2b04ad8-abb2-407c-977a-1f301db90566n%40googlegroups.com.