error during install. windows 7 64 bit

7 views
Skip to first unread message

Jimjamjahaa

unread,
Nov 14, 2009, 9:24:08 AM11/14/09
to pyglet-users
i get an error when i start the installer claiming i don't have python
installed, but i have python 2.6 64 bit installed.

any help? i had this all working on the release candidate of win 7...
but that was 32 bit.

claudio canepa

unread,
Nov 14, 2009, 9:48:36 PM11/14/09
to pyglet...@googlegroups.com
 something similar for wxPython, see
In a nutshell, seems that for 64 bits python registers itself under another key in the registry.
The 64 bit key seems to be the same as the 32 bit but with a 'Wow6432Node' injected, by example:
32 bits
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
\CurrentVersion\App Paths\Python.exe]

62 bits
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows
\CurrentVersion\App Paths\Python.exe]


Now, I dont know the details of pyglet's installer, but the workaround suggested in the wx  thread was to manually create the key expected by the installer.
The easy way would be to export to file the desired entry, edit erasing the '\Wow6432Node' part, then import the resulting .reg file

note: another posible key to transform is
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore
\2.6\InstallPath]

Just in case, after installing pyglet I would delete the edited keys.

hth

--
claudio
Reply all
Reply to author
Forward
0 new messages