You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey guys,
I noticed this is quite common on win 10 so here's something of a hunch, a lot of y'all and myself too got pythons installed in the C:\Program Files\WindowsApps folder.
THe solution is IOBit unlocker so that u can copy the dreaded files from
This is not a pywin32 issue, nor a Microsoft or GitHub support forum.
Although yes Microsoft is annoying with their default override of the python3 command, and their Store install has issues. So here's a bit of help I can give you and future readers: python/typeshed#8798 (comment)
Sure. Btw just FYI, you don't have to install it from the store (which I've had very bad experience with as well). You can disable that store alias by going under settings > App execution aliases, and disabling it. Then symlink python3 --> python, create a new alias, or copy+rename the python executable. But yeah, annoying just to get a consistent experience across OSes. .
Since 71afa71, the PATH is now prepended, rather than appended. For Python >= 3.8, the PATH environment variable isn't even used. This is included in pywin32==226.
Python 3.7 has also reached EOL (meaning no security fixes/support) and I'd recommend migrating over to 3.8+ (see #2207)
Given the sheer amount of "ImportError: DLL load failed: The specified module could not be found." issue duplication and old history, I'd like to consolidate the current state of these issues. So I'll close and reference back any issue that only has comments showing the issue:
Hey guys,
I noticed this is quite common on win 10 so here's something of a hunch, a lot of y'all and myself too got pythons installed in the C:\Program Files\WindowsApps folder.
THe solution is IOBit unlocker so that u can copy the dreaded files from
C:\Users\Admin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\pywin32_system32
to
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0
or whatever ur python is, which can be done by:
python3 -c "import os, sys; print(os.path.dirname(sys.executable))"
where python3 can be [python, py, could be whatever the python command in ur PATH]
Then, once u got dis done now proceed 2:
The only way I know of that works natively within Windows, is to use IObit Unlocker.
After it's installed, just right click on the file you wish to move and select the IObit Unlocker shell extension.
At the next screen, press the drop arrow next to 'Unlock' and select 'Unlock & Move' (or copy), browse to and select destination, and you're done.
https://answers.microsoft.com/en-us/windows/forum/all/windowsapps-folder-permissions/c1d41339-8cdf-4e38-98f2-63bd1c72c619
LETS END THIS MICROSOFT BAD DOMINATION OF THE CONTROL OF OUR PCS!
ALSO MAKE SURE U ASK GITHUB TO LKET US NOT USE 2FA! I HATE 2FA!
The text was updated successfully, but these errors were encountered: