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

installer fails in 3.10-32 #1805

Closed
mhammond opened this issue Dec 2, 2021 · 3 comments
Closed

installer fails in 3.10-32 #1805

mhammond opened this issue Dec 2, 2021 · 3 comments

Comments

@mhammond
Copy link
Owner

mhammond commented Dec 2, 2021

via email:

The 32-bit Python 3.10 installed by python-3.10.0.exe creates registry key HKLM\SOFTWARE\Python\PythonCore\3.10-32. Your 32-bit pywin32-302.win32-py3.10.exe installer looks for HKLM\SOFTWARE\Python\PythonCore\3.10, doesn't find it, and decides Python 3.10 is not installed.
The 64-bit versions work correctly.

Possibly complicated by the fact 3.10 no longer supports creating .exe installers, so we use 3.9 to build them 😭

@bvancil
Copy link

bvancil commented Dec 16, 2021

I can confirm the bug. As a workaround, I exported the HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Python\PythonCore\3.10-32 entries to a "python310-32.reg" file and find/replaced all "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Python\PythonCore\3.10-32" to "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Python\PythonCore\3.10". This will of course cause problems should I install 64-bit 3.10, but the installer worked fine after that.

@mhammond
Copy link
Owner Author

Thanks - I doubt I can reasonably fix this though, so I'm going to just stop distributing 32bit exe installers for 3.10 and up. At some point we will lose the installers for all new versions :(

@mhammond
Copy link
Owner Author

Which I did in b6391c8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants