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

后端 未结 8 1974
攒了一身酷
攒了一身酷 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:38

    Update your Python version. I updated mine form Python 3.7.6 to Python 3.8.2 on https://www.python.org/downloads/ I just did it and it worked for me!

    0 讨论(0)
  • 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!

    0 讨论(0)
提交回复
热议问题