Re: [PyOpenGL-Users] difficulties installing pyOpenGL on Linux
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@vr...> - 2007-09-18 14:25:20
|
Miriam English wrote: ... Wow, name from the deep-dark past. Hi Miriam! > So I go to sourceforge and... ummm... an egg??? OK, so I read up about > them (seems a little like making things more complicated to make them > easier), Yeah, setuptools isn't a slam-dunk win, it's better than what went before (normally), but it's not perfect. Eventually the hope is that *something* will go into Python core that does the same basic job. > download the required tools and install them, then install > PyOpenGL-3.0.0a6. Everything seems to go fine. > > I now try the glcube example again and it gives the same message: > "The GLCUBE example requires PyOpenGL" > Very odd... > > I decide to try another example, just in case it is something related to > that particular file. I select the dots.py example from the > PyOpenGL_Demo-3.0.0a6 collection. This time the error I get is: > ... > ImportError: No module named ctypes > ... > It is true I have no module named ctypes, but I haven't needed it > previously when using Win32 and I can't find mention of it in the > python2.4 documentation. Does anybody know what this means? > ctypes is built-in in Python 2.5. You likely have Python 2.5 on your Windows system and 2.4 on your Puppy Linux system. ctypes can be downloaded and installed from the ctypes page on SourceForge: http://sourceforge.net/project/showfiles.php?group_id=71702 choose the .tar.gz and run the setup.py to build the package. Most linux distributions have a package for it, but I'm guessing puppy doesn't provide one. 3.0.0 is basically just waiting for me to have time to release as beta1, it's recommended for any new development you are doing. The build process for 2.x is just so horribly tortuous that it qualifies as fundamentally broken. > Sheesh. Lucky I'm a ridiculously patient person. I've tried a few other > times to install PyOpenGL on Puppy and run out of time after spending a > day or so at it. This time I've finally decided to turn to the list... > Good luck, and thanks for your ridiculous patience :) . Feel free to turn to the list sooner next time, installation is probably the biggest source of frustration with the project at the moment. Have fun, Mike -- ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com |