Issue 26630: Windows EXE extension installers not finding 32bit Python 3.5 installation (original) (raw)
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'.