This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Windows EXE extension installers not finding 32bit Python 3.5 installation
Type: behavior Stage: resolved
Components: Distutils, Windows Versions: Python 3.5
process
Status: closed Resolution: duplicate
Dependencies: Superseder: bdist_wininst created binaries fail to start and find 32bit Pythons
View: 26071
Assigned To: Nosy List: dstufft, eric.araujo, jerickso, paul.moore, steve.dower, tim.golden, zach.ware
Priority: normal Keywords:

Created on 2016-03-23 22:06 by jerickso, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (1)
msg262312 - (view) Author: Jason Erickson (jerickso) Date: 2016-03-23 22:06
On both 64 and 32 bit Windows OSes, the 32bit version of Python 3.5 is unable to install extensions created with the command:
setup.py bdist_wininst


To reproduce, install the 32bit version of Python 3.5 and run the .exe installation for an extension, such as:
http://www.stickpeople.com/projects/python/win-psycopg/2.6.1/psycopg2-2.6.1.win32-py3.5.exe
https://bintray.com/artifact/download/pycurl/pycurl/pycurl-7.43.0.win32-py3.5.exe

Clicking 'Next', the message "Python version 3.5 required, which was not found in the registry." will be displayed.

Temporarily renaming the registry key (For 64bit Windows, under HKCU or HKLM):
SOFTWARE\WOW6432Node\Python\PythonCore\3.5-32
to:
SOFTWARE\WOW6432Node\Python\PythonCore\3.5

Allows the extensions to be installed.


This indicates this is because 32bit Python 3.5 now uses the '3.5-32' as the string for the registry key whereas the bdist_wininst 'stub' is still expecting just the version, '3.5'.
History
Date User Action Args
2022-04-11 14:58:28adminsetgithub: 70817
2016-03-24 05:11:43eryksunsetstatus: open -> closed

nosy: + paul.moore, tim.golden, zach.ware, steve.dower
resolution: duplicate
components: + Windows
superseder: bdist_wininst created binaries fail to start and find 32bit Pythons
stage: resolved
2016-03-23 22:06:25jericksocreate