Python3.5.2 Bdist_wininst: Python Version -32 Required, Which Was Not Found In The Registry
I' ve got an issue with a package I created with Python 3.5.2 32-bit on Windows 7. I normally deploy my Python packages on Windows by using the bdist_wininst option of setuptools.
Solution 1:
It looks like this is a known bug: https://bugs.python.org/issue26630.
The workaround that I discovered is to edit the executable installer manually in a hex-editor. The characters -32
appears in locations 7A5D4-7A5D6. Replace them with all NULL characters. Afterwards, the installer seems to work fine.
Obviously, this is a complete hack. Use at your own risk.
Solution 2:
Another workaround I found in 3.6.0 (where bdist_wininst
is still broken) was was to use the MSI builder bdist_msi
instead.
FYI this is marked as "fixed for 3.5.3, 3.6.1 and default" in https://bugs.python.org/issue26071 (the replacement of https://bugs.python.org/issue26630).
Post a Comment for "Python3.5.2 Bdist_wininst: Python Version -32 Required, Which Was Not Found In The Registry"