![]() Or just inject the following REG file into your registry if you are using python 2.6 installed in C:\Python26 directory Print "*** You probably have another Python installation!" Print "= Python", version, "is already registered!" QueryValue(reg, pythonkey) = pythonpath): If (QueryValue(reg, installkey) = installpath and Print "- Python", version, "is now registered!" SetValue(reg, pythonkey, REG_SZ, pythonpath) SetValue(reg, installkey, REG_SZ, installpath) Reg = CreateKey(HKEY_CURRENT_USER, regpath) ![]() Reg = OpenKey(HKEY_CURRENT_USER, regpath) Regpath = "SOFTWARE\\Python\\Pythoncore\\%s\\" % (version) # modified by Valentine Gogichashvili as described in sys # written by Joakim Loew for Secret Labs AB / PythonWare # and other extensions that require Python registry settings # script to register Python 2.0 or later for use with win32all So one have to use a modified script for registering python the old way: The currently available 64 bit python installation is registering python in a new location in windows registry. distutils (32-py2.6.exe) still could not find 64 bit python installation, as well as develer's Unofficial MinGW GCC binaries for Windows (I still do not have a solution for that one :( ).Īctually, what helped me with disttools, was a group thread. After installing 64 bit Windows 7 at work, I got a problem of installing many python utilities that search for installed python locations is windows registry.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |