I am using Python 3.6.7 in conda 4.5.12 (Win10,64bit) and I want to compile my Python project to an .exe-File using Pyinstaller (3.5 dev). I keep getting the same error:
ModuleNotFoundError: No module named 'win32api'
[65600] Failed to execute script pyi_rth_win32comgenpy
I already reinstalled pywin32 as recommended in 25314463, the import of win32com works. I also tried:
pip install pypiwin32
as described in 21343774. The Installation was successful. But I still get the same Error.
pip install pywin32
from 827 does not solve the problem either. Also I tried to import win32api, win32com and pywin32 in my .spec-file with the matching paths, but still no success.
How can this error be fixed?