Re: [PyOpenGL-Users] difficulties installing pyOpenGL on Linux
Brought to you by:
mcfletch
From: Miriam E. <mi...@mi...> - 2007-09-18 11:05:35
|
Okay, so long story short, I found ctypes on the net (it is new to python2.5 so I don't really understand why it is needed for python2.4). I downloaded and installed it and PyOpenGL works! ...kinda... The dots.py demo works, but I still have problems. Firstly when I ran some demos that use PIL I got the error "The _imaging C module is not installed" Upshot: I re-installed PIL. Now I get a bewildering array of error messages for various of the PyOpenGL programs (they all work fine on Win32). None of the GLE demos work or any other demos using textures. Many things give AttributeError: pixel_access. Many other things have other errors, like dek/MandelImage.py which says Numeric.ravel(xx+yy[:,Numeric.NewAxis]) doesn't have NewAxis attribute. I installed Numeric recently. I'm sure MandelImage is older than Numeric... but waaaiit... I tried an old version of MandelImage and the error disappears (now we have the PIL pixel_access error). texturesurf.py and tile.py say tkinter can't find togl. Huh? I never needed togl on Win32. I guess I need to find and install it. [sigh] How can this be so damn hard? Oh well... at least dots.py is working, and a few other things like the GLUT demos (but not conesave.py -- it spits the dummy when given the wrong number type... in a dynamically type-converting language?), and a few of the more primitive NeHe demos work, and the redbook examples. Time to put this aside and get back to other things. I may, at times, spend days getting things to work, coming back again and again to try more after being thwarted. If I do this with PyOpenGL and still am unable to get it working cleanly, what are the chances that this can get any sort of wide acceptance? I really, really want this to work, but I'm starting to get a desperately strong impression of a structure built upon shifting sands. How can I recommend this to anyone else? How can I hope to build usable worlds? I still intend to get this to work. I consider python the best hope in many ways. And I don't mean to be critical. I realise the incredible amount of time and brillance put into this. It's just... these things worry me greatly. Cheers, - Miriam -- ---------=---------=---------=---------=---------=---------=------ A life! Cool! Where can I download one of those from? ---------=---------=---------=---------=---------=---------=------ Website: http://miriam-english.org Blog: http://www.livejournal.com/users/miriam_e/ |