mirror of
https://github.com/brentvollebregt/auto-py-to-exe.git
synced 2026-04-25 11:45:49 +03:00
[GH-ISSUE #166] win32ctypes.pywin32.pywintypes.error: (1920, 'LoadLibraryEx', 'The file cannot be accessed by the system') #154
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Aarnavv on GitHub (Apr 26, 2021).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/166
Hey, when I am pressing the 'big blue button', I am getting "The file cannot be accessed by the system."
@Aarnavv commented on GitHub (Apr 26, 2021):
I am not able to understand which file it cant access. It is all a big mess. :/
@brentvollebregt commented on GitHub (Apr 26, 2021):
Have you read the help post at all?
@Aarnavv commented on GitHub (Apr 27, 2021):
Yeah, I had read it and tried almost everything. Turns out I had to reinstall Python, which I didn't want to. But it works now. So thank, ig!
@brentvollebregt commented on GitHub (Apr 27, 2021):
For others that may find this issue, looking up "The file cannot be accessed by the system" or "LoadLibraryEx" in the help post will bring you to the LoadLibraryEx / The file cannot be accessed by the system header.
In this section, I describe that paths like
C:\Users\<USER>\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\...as shown in the issue above demonstrates that the user is using Python from the Windows Store.This is not supported and you need to install Python directly from python.org and not use the Python distribution from the Windows Store.