[PyOpenGL-Devel] [ pyopengl-Support Requests-310549 ] installer does not see current Pythons
Brought to you by:
mcfletch
|
From: SourceForge.net <no...@so...> - 2012-11-10 06:31:46
|
Support Requests item #310549, was opened at 2000-12-22 17:22 Message generated for change (Comment added) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=205988&aid=310549&group_id=5988 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: Project and Site Statistics Group: None Status: Closed Resolution: None Priority: 5 Private: No Submitted By: Fred Yankowski (fredy) Assigned to: Rene Liebscher (rliebscher) Summary: installer does not see current Pythons Initial Comment: ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2012-11-09 22:31 Message: Hi! I've been following your web site for a long time now and finally got the courage to go ahead and give you a shout out from Porter Texas! Just wanted to mention keep up the excellent job! north face jackets cheap http://htrztbfdid.devhub.com/ ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2001-01-04 01:12 Message: Logged In: YES user_id=28463 Browser: Mozilla/4.7 [en] (X11; I; AIX 4.3) Meanwhile I found out what is wrong. The Windows installers relies on two registry entries, but if Python is not correctly installed in the registry it is not found. To add these registry entries write the following code in a file (reg.py): ########################################################## # these entries are necessary for the distutils-Windows-installer reg_data = """REGEDIT4 [HKEY_LOCAL_MACHINE\Software\Python] [HKEY_LOCAL_MACHINE\Software\Python\PythonCore] [HKEY_LOCAL_MACHINE\Software\Python\PythonCore\$VERSION] [HKEY_LOCAL_MACHINE\Software\Python\PythonCore\$VERSION\InstallPath] @="$PYTHON" """ import sys,string reg_data = string.replace(reg_data,"$VERSION",sys.version[0:3]) reg_data = string.replace(reg_data,"$PYTHON",string.replace(sys.prefix,"\\","\\\\")) print reg_data ########################################################## Then call it with 'python reg.py >python.reg' and double click on python.reg. This will install the registry entries necessary for the Windows installer. (You can also import this file with regedit or type 'start python.reg' at the command line.) !!! It doesn't install all registry entries which are usually made by Python, but it should be enough to get distutils windows installer to work. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2000-12-22 17:22 Message: Logged In: YES user_id=20580 Browser: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0) I downloaded PyOpenGL-1.5.6b1.win32-py1.5.2.exe and executed it on my Windows NT 4.0 machine. When the installer displays the "select python installation to use" screen it fails to list anything and I am blocked, even though I have both Python 1.5.2 and 1.6 installed, along with whatever Python comes with Zope 2.2. What can I do now to install PyOpenGL? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=205988&aid=310549&group_id=5988 |