Installing PyOpenGL - can't find libnumarray module
traveller3141 at att.net
traveller3141 at att.net
Tue Dec 30 22:13:49 EST 2003
Sorry, when I originally uninstalled numarray & entered
from OpenGL.GL import *,
the traceback I got was
Traceback (most recent call last):
File "C:\Python23\lib\site-
packages\Pythonwin\pywin\scintilla\formatter.py", line 222, in
OnStyleNeeded
notify = self.scintilla.SCIUnpackNotifyMessage(extra)
File "C:\Python23\lib\site-packages\Pythonwin\pywin\scintilla\control.py"
, line 57, in
SCIUnpackNotifyMessage
margin = margin)
ImportError: No module named numarray.libnumarray
win32ui: Exception in OnNotify() handler
This is what led me to think that I needed the numarray module, which is why
I reinstalled it. I should have been more clear about that.
So, that's what started me wondering about the .pyd extension.
The numpy installer I used was Numeric-23.1.win32-py2.3.exe, and the PyOpenGL
installer I used was PyOpenGL-2.0.1.07.py2.3-numpy23.exe.
I think these are the correct installers.
Anyway, that's where I am & how I got here.
Thanks for all your help
> Steven Gutstein wrote:
>
> >"Mike C. Fletcher" <mcfletch at rogers.com> wrote in message
> >
> >
> >
> >>Basically, to fix the problem, uninstall NumArray and install NumPy 23.0.
> >>
> >>
> >I tried this, without success.
> >I also find I get the same error when I type
> >
> >from numarray import *
> >
> >
> You are trying to import a package you just un-installed? Is this line
> showing up from some other package you're trying to run and you're
> debugging by trying it at the Python prompt? A Numpy import looks like
> this:
>
> from Numeric import *
>
> AFAICS, there's nothing named numarray anywhere in a Numpy 23.0
> installation, so if you get that working, then you've not got NumArray
> purged yet.
>
> However, since your original problem was an import error, "the same
> error" probably (posting exception tracebacks is useful) indicates that
> you're getting an ImportError saying that numarray doesn't exist.
> That's what you *want* (since you don't want NumArray hanging around).
>
> >I'm wondering if there's some problem with the fact that libnumarray
> >is a .pyd file. I came across a comment that for some reason .pyd
> >files don't get found and what I should do is create the following
> >setup.cfg file:
> >
> >
> <lot of py2exe setup stuff snipped>
>
> This is only for creating stand-alone executables, it has nothing to do
> with just running PyOpenGL. It's also related to NumArray, *not* Numpy,
> so again, not relevant.
>
> >Is there something
> >obvious that I'm missing here ?
> >
> >
> Hopefully not any more.
>
> Good luck,
> Mike
>
> _______________________________________
> Mike C. Fletcher
> Designer, VR Plumber, Coder
> http://members.rogers.com/mcfletch/
>
>
>
More information about the Python-list
mailing list