[pywin32-bugs] [ pywin32-Bugs-3363789 ] Installer won't accept an alternative directory
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2011-07-12 05:04:42
|
Bugs item #3363789, was opened at 2011-07-12 14:53 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3363789&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: installation Group: None >Status: Closed >Resolution: Invalid Priority: 5 Private: No Submitted By: Andrew (neo_bahamut) Assigned to: Nobody/Anonymous (nobody) Summary: Installer won't accept an alternative directory Initial Comment: I have a 64-bit install of the standard CPython (3.2) and I am able to install the 64-bit package of pywin32 to it without a problem. However, I need to have a 32-bit Python directory (not installed as the default Python), so that I can create 32-bit binaries with cx_Freeze. I cannot add pywin32 to the 32-bit Python's directory because the pywin32 installer (pywin32-216.1.win32-py3.2.exe) doesn't allow installation to an arbitrary directory. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2011-07-12 15:04 Message: This is a problem with the builtin distutils rather than pywin32. However, you can probably work around it with some registry hacks. As 32bit and 64bit processes have different views of the registry, there is no problem installing both. If you edit the registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore\3.2\InstallPath To point at your 32bit install, the pywin32 installer should happy install there. Note that installing the 32bit Python should have already added an entry there pointing at where you installed it. The 64bit version of Python will use the same key but without the Wow6432Node part of the key. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3363789&group_id=78018 |