Installation of mod_python 3.1.3 on Apache 2.0.50 on Windows Me/Win2k

Piet pit.grinja at gmx.de
Sun Aug 29 18:50:40 CEST 2004


Hi there,
I cannot install mod_python v3.1.3 on either Win2k/ActivePython 2.3.2
or WinMe/Python 2.3.4. When I run the Windows installer, I get the
following error message:
Traceback (most recent call last):
  File "C:\Programme\Python23\Scripts\win32_postinstall.py", line 86,
in ?
    apachediroptions = getApacheDirOptions()
  File "C:\Programme\Python23\Scripts\win32_postinstall.py", line 45,
in getApacheDirOptions
    apachekey = regkey(win32con.HKEY_LOCAL_MACHINE,
"Software").childkey("Apache Group").childkey("Apache")
  File "C:\Programme\Python23\Scripts\win32_postinstall.py", line 34,
in childkey
    return regkey(self.key, subkeyname)
  File "C:\Programme\Python23\Scripts\win32_postinstall.py", line 32,
in __init__
    self.key = win32api.RegOpenKey(parent, subkeyname)
pywintypes.error: (2, 'RegOpenKeyEx', 'Das System kann die angegebene
Datei nicht finden.')
Exception exceptions.AttributeError: "regkey instance has no attribute
'key'" in <bound method regkey.__del__ of <__main__.regkey instance at
0x00CF1440>> ignored
*** run_installscript: internal error 0xFFFFFFFF ***
I checked the registry and found that the key mentioned in the error
message does indeed not exist. Is this a failure in my apache
configuration/installation or is the installation package of
mod_python incorrect? Are there any experiences with the
abovementioned configuration?
Thanx in advance
Peter



More information about the Python-list mailing list