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
I had the same problem. Just move your python file in your C:\Users\batman\AppData\Local\Programs\Python\Python38-32\Scripts folder where you can also find pyinstaller.exe and run the windows command prompt there and try again!
C:\Users\batman\AppData\Local\Programs\Python\Python38-32\Scripts
pyinstaller.exe