[Pythonmac-SIG] PyOpenGL
Sans Peur
simonmagus@earthlink.net
Wed, 29 Aug 2001 21:31:01 -0700
Greetings,
I am a Python novice. I just installed Python 2.1.1 on my G3 and it's
working fine. I want to install PyOpenGL 2.0.0.42 beta but the setup.py
script fails. I set the path up ok, but I really don't know where to put
the PyOpenGL folder. I put in in Python 2.1.1 folder. Is that right? Does it
matter where I put it? After using BBEdit to set up the python file type I
ran setup.py with Option-down double-click, I then type install on the
command line and the script goes all the way down to line 118 where it
fails, looking for Numeric headers.
Successfully imported Numeric, but can't find the Numeric headers!
Traceback (most recent call last):
File "Macintosh HD20:Programming:Python:Python
2.1.1:Lib:site-packages:PyOpenGL:setup.py", line 118, in ?
libraries = [('interface_util',
{'sources':['src/interface_util/interface_util.c','src/interface_util/platfo
rm.c']}),#, 'include_dirs':[get_python_inc()] + include_dirs,
'macros':define_macros}),
File "Macintosh HD20:Programming:Python:Python
2.1.1:Lib:distutils:core.py", line 101, in setup
_setup_distribution = dist = klass(attrs)
File "Macintosh HD20:Programming:Python:Python
2.1.1:Lib:distutils:dist.py", line 213, in __init__
self.finalize_options()
File "Macintosh HD20:Programming:Python:Python
2.1.1:Lib:site-packages:PyOpenGL:setup:dist.py", line 102, in
finalize_options
if self.HAS_NUMERIC:
AttributeError: Distribution instance has no attribute 'HAS_NUMERIC'
===
I didn't install Numeric because it's part of Python 2.1.1 in
Lib:site-packages...
So, I guess I'm totally lost at this point.
Anyone willing to help me out? I need some ideas (or straight to the point
instructions...)
Thanks....
Bryce