I\'m trying to use the pyinstaller to pack my python file in to .exe, but I keep getting this error message.
win32ctypes.pywin32.pywintypes.error: (1920, \'L
If you've built your Python project in PyCharm
, and later installed pyinstaller
, there is a copy of the pyinstaller
program EXE in the Output subfolders.
Simple copy the full path of where the pyInstaller.exe
is located inside your PyCharm project, open CMD
as Administrator, go to your PyCharm project folder, where your .py
file is located and paste the path copied earlier (windows 10), plus add the pyInstaller.exe
extension.
i.e.
C:\Users\<>\<>\output\pyInstaller.exe <>
It will compile.