Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove support for python from the windows store #4702

Merged
merged 4 commits into from Mar 3, 2020

Conversation

Legorooj
Copy link
Member

@Legorooj Legorooj commented Feb 26, 2020

When using python from the windows store with PyInstaller, there are permissions errors that require a major mod to the UAC system in the underlying windows kernel to work around.

It's caused by the WindowsApps directory, which, for security reasons, even when running as admin you can't even read the directory. This means that when PyInstaller trys to copy the python DLLs and libraries, it fails. You can work around this, but the method risks jailbreaking if done improperly, which can void warranty.

This can be "fixed" by saying that we don't support that build of python. (Note that that is actually standard CPython)

Closes #4507

When using python from the windows store with PyInstaller, there are permissions errors that require a major mod to the UAC system in the underlying windows kernel to work around. 

It's caused by the damned `WindowsApps` directory, which, for security reasons, even running as *admin* can't even *read* the directory. This means that when PyInstaller (trys to) copy the python dlls and librarys, it fails. You can work around this, but the method risks jailbreaking, which voids warranty. 

This can be "fixed" by saying that we don't support that build of python. (Note that that is actually standard CPython)
@Legorooj
Copy link
Member Author

@bjones1 this will only take a sec. (I don't need a changelog entry for this do I?)

README.rst Outdated Show resolved Hide resolved
@Legorooj
Copy link
Member Author

@bjones1

@mrnuke
Copy link

mrnuke commented Mar 1, 2020

Instead of just saying "We don't support X", why not explain how to use phyton venv to work around the issue instead?

@Legorooj
Copy link
Member Author

Legorooj commented Mar 1, 2020

@mrnuke actually venvs would work... I'll update.

@bjones1
Copy link
Contributor

bjones1 commented Mar 2, 2020

Would you update the link? It currently points to https://pyinstaller.readthedocs.io/en/stable/development/changelog-entries.html, which doesn't have anything about this bug. Instead, point to this issue (#4702), since it's a good explanation you provided on why this is necessary.

@Legorooj
Copy link
Member Author

Legorooj commented Mar 2, 2020

@bjones1 umm yeah - I must not have copied the link - and the last one I had in my clipboard was that one.

@bjones1
Copy link
Contributor

bjones1 commented Mar 2, 2020

Thanks!

@bjones1 bjones1 merged commit a751f74 into pyinstaller:develop Mar 3, 2020
@Legorooj Legorooj deleted the patch-1 branch April 4, 2020 00:46
coreydexter pushed a commit to coreydexter/pyinstaller that referenced this pull request Apr 8, 2020
Docs: Remove support for Python from the Windows store

When using python from the windows store with PyInstaller, there are permissions errors that require a major mod to the UAC system in the underlying windows kernel to work around. 

It's caused by the damned `WindowsApps` directory, which, for security reasons, even running as *admin* can't even *read* the directory. This means that when PyInstaller (trys to) copy the Python dlls and librarys, it fails. You can work around this, but the method risks jailbreaking, which voids warranty. 

This can be "fixed" by saying that we don't support that build of Python. (Note that that is actually standard CPython).
htgoebel pushed a commit to htgoebel/pyinstaller that referenced this pull request May 4, 2020
Docs: Remove support for Python from the Windows store

When using python from the windows store with PyInstaller, there are permissions errors that require a major mod to the UAC system in the underlying windows kernel to work around. 

It's caused by the damned `WindowsApps` directory, which, for security reasons, even running as *admin* can't even *read* the directory. This means that when PyInstaller (trys to) copy the Python dlls and librarys, it fails. You can work around this, but the method risks jailbreaking, which voids warranty. 

This can be "fixed" by saying that we don't support that build of Python. (Note that that is actually standard CPython).
cool-RR pushed a commit to cool-RR/pyinstaller that referenced this pull request Jun 20, 2020
Docs: Remove support for Python from the Windows store

When using python from the windows store with PyInstaller, there are permissions errors that require a major mod to the UAC system in the underlying windows kernel to work around. 

It's caused by the damned `WindowsApps` directory, which, for security reasons, even running as *admin* can't even *read* the directory. This means that when PyInstaller (trys to) copy the Python dlls and librarys, it fails. You can work around this, but the method risks jailbreaking, which voids warranty. 

This can be "fixed" by saying that we don't support that build of Python. (Note that that is actually standard CPython).
@satendrasingh51
Copy link

[Window Title]
D:\cmt_Robo\chromedriver_win32\PayAccept.exe

[Content]
The version of this file is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need an x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher.

[OK]

Solution for this error

@satendrasingh51
Copy link

How to convert python to .exe for window 7

@Legorooj
Copy link
Member Author

@satendrasingh51 please open a new issue.

@pyinstaller pyinstaller locked and limited conversation to collaborators Sep 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pyinstaller can't use at Windows-10-10.0.18362-SP0
4 participants