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

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

    @Jelly Hsu

    i think there's an access permission problem with windows. specifically with C:\Program Files\WindowsApps folder. (it's hidden) but i think this is the problem.

    anyway i created a virtual environment, installed pyinstaller within the venv, and everything worked fine.

提交回复
热议问题