Pyinstaller win32ctypes.pywin32.pywintypes.error: (1920, 'LoadLibraryExW', 'System cannot access the file')

后端 未结 8 2006
攒了一身酷
攒了一身酷 2020-12-11 08:14

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         


        
8条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-11 08:42

    I've been coming back to this problem now for months after my new PC had this idea. After selling my laptop (that pyinstaller worked on), I was forced to find a solution. To try and figure out what was going on I created a virtual environment in pycharm and it suddenly worked. I'd recommend giving pycharm a go!

提交回复
热议问题