Search code examples
pythonpywin32pyinstaller

PyInstaller cannot find win32 API


I am trying to run pyinstaller, but I keep getting this:

Error: PyInstaller for Python 2.6+ on Windows needs pywin32.
Please install from http://sourceforge.net/projects/pywin32/

I have verified the existence of pywin32. I have also attempted to write the full path to python.exe to verify I was running the correct Python executable. What's wrong?


Solution

  • I found out the answer! I just ended up installing CPython 2.7 over ActivePython. And, guess what? IT WORKED! Blame ActivePython.

    EDIT: Turns out it was more. I had installed 32-bit ActivePython on top of 64-bit CPython. Whoops.