First, I'm running Windows 7 x86 on a Virtual Box environment. The specifications of the machine are as follows:
Now, I installed Python 3.5.1 in this OS, and also installed PyInstaller 3.1.1 through pip install. The problem is I could not get PyInstaller to run. I've attached some screenshots below. I tried to solve the problem by installing pywin32, pypiwin32, and pywintypes, but it did not help. Thank you for your kind response!


pywin32 for Python 3.5 seems to require the Visual Studio 2010 Runtime, even though Python 3.5 does not use that version of the runtime.
Try installing the Microsoft Visual C++ 2010 Redistributable Package and let us know if that fixes it.
Okay, got it. Thank you. Will keep you posted!
I did what you advised me to do, and it worked! Thank you very much! Been having this problem for more than two weeks now.

Most helpful comment
pywin32 for Python 3.5 seems to require the Visual Studio 2010 Runtime, even though Python 3.5 does not use that version of the runtime.
Try installing the Microsoft Visual C++ 2010 Redistributable Package and let us know if that fixes it.