[python-win32] Installing Build 202 with Python 2.4a1

Tony Meyer ta-meyer at ihug.co.nz
Fri Jul 9 11:38:35 CEST 2004


Has anyone else had troubles using the Build 202 installer with Python
2.4a1?  It all goes nicely for me until the end, when I get:

"""
Creating .PTH file C:\Python24\pywin32.pth
Copied pythoncom24.dll to C:\WINDOWS\System32\pythoncom24.dll
Copied pywintypes24.dll to C:\WINDOWS\System32\pywintypes24.dll
Registered: Python.Interpreter 
Registered: Python.Dictionary 
Traceback (most recent call last):
  File "C:\Python24\Scripts\pywin32_postinstall.py", line 313, in ?
    install()
  File "C:\Python24\Scripts\pywin32_postinstall.py", line 210, in install
    SetPyKeyVal("Help", None, None)
  File "C:\Python24\Scripts\pywin32_postinstall.py", line 97, in SetPyKeyVal
    root_hkey = get_root_hkey()
NameError: global name 'get_root_hkey' is not defined
*** run_installscript: internal error 0xFFFFFFFF ***
"""

I'm not sure what the try/except block that includes the get_root_hkey
definition is doing, so I don't know whether this is a bug or something
wrong here.  Build 202 for Py2.3 and Py2.2 work fine, though.

=Tony Meyer



More information about the Python-win32 mailing list