I used the command pip install pyinstaller
to installer PyInstaller for Python 3.7 on Windows 10, but the Command Prompt gave me the following errors:
ModuleNotFoundError: No module named 'pywintypes'
...
ModuleNotFoundError: No module named 'cffi'
...
During handling of the above exception, another exception occurred:
...
SyntaxError: invalid syntax
----------------------------------------`
Command "python setup.py egg_info" failed with error code 1 in C:\Users\MUHAMM~1\AppData\Local\Temp\pip-install-6_q2lzs2\pyinstaller\
I installed the midule cffi
, then tried to install pywintypes
but it was not found.
Any help? Thanks in advance.
UPDATE as of 2019-07-09
The changelog for PyInstaller==3.5 does state that they now support Python 3.7 on Windows 10. I updated my answer to account for several necro-bumps "it works now", "the second answer should be accepted" and "downvotes" disregarding the time at which the question was asked. The second answer was not the actual solution back then, it clearly fails to state that
pip3.7 install PyInstaller==3.5
is a solid fix since 2019-07-09. The question however was asked long before that date.
BEFORE 2019-07-09
Not a solution to your problem, but PyInstaller does not support Python 3.7.