S
Steven Gutstein
This is probably a fairly newbie type problem, but I'm trying to use
PyOpenGL, and don't seem to have installed it correctly.
I'm running Python 2.3 on a Windows NT machine. Whenever I go into IDLE and
type
from OpenGL.GL import *
I get a flagrant crash which shuts down IDLE.
The error message I get (as well as I could copy it) is as follows:
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 libnumarray
win32ui: Exception in OnNotify() handler
The main problem seems to be the lack of a libnumarray module. However,
I have already installed numarray, and have verified that it's in my
sys.path:
['', 'c:\\dislin\\python', 'C:\\WINDOWS\\System32\\python23.zip',
'C:\\Python23\\lib\\site-packages\\Pythonwin',
'C:\\Python23\\lib\\site-packages\\win32',
'C:\\Python23\\lib\\site-packages\\win32\\lib',
'C:\\Python23\\lib\\site-packages', 'C:\\Python23\\DLLs',
'C:\\Python23\\lib', 'C:\\Python23\\lib\\plat-win',
'C:\\Python23\\lib\\lib-tk', 'C:\\Python23',
'C:\\Python23\\Deitel_Examples',
'C:\\Python23\\lib\\site-packages\\Numeric',
'C:\\Python23\\lib\\site-packages\\PIL',
'C:\\Python23\\lib\\site-packages\\gist',
'C:\\Python23\\lib\\site-packages\\numarray',
'C:\\Python23\\lib\\site-packages\\PythonPrograms']
It's the next to last entry.
Inside my numarray directory there is a file libnumarray.pyd.
I reinstalled numarray & checked the version for Python2.2. All I see in
each version is libnumarray.pyd.
Is there anything obvious that I'm missing or should try ?
Thanks,
Steven Gutstein
PyOpenGL, and don't seem to have installed it correctly.
I'm running Python 2.3 on a Windows NT machine. Whenever I go into IDLE and
type
from OpenGL.GL import *
I get a flagrant crash which shuts down IDLE.
The error message I get (as well as I could copy it) is as follows:
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 libnumarray
win32ui: Exception in OnNotify() handler
The main problem seems to be the lack of a libnumarray module. However,
I have already installed numarray, and have verified that it's in my
sys.path:
['', 'c:\\dislin\\python', 'C:\\WINDOWS\\System32\\python23.zip',
'C:\\Python23\\lib\\site-packages\\Pythonwin',
'C:\\Python23\\lib\\site-packages\\win32',
'C:\\Python23\\lib\\site-packages\\win32\\lib',
'C:\\Python23\\lib\\site-packages', 'C:\\Python23\\DLLs',
'C:\\Python23\\lib', 'C:\\Python23\\lib\\plat-win',
'C:\\Python23\\lib\\lib-tk', 'C:\\Python23',
'C:\\Python23\\Deitel_Examples',
'C:\\Python23\\lib\\site-packages\\Numeric',
'C:\\Python23\\lib\\site-packages\\PIL',
'C:\\Python23\\lib\\site-packages\\gist',
'C:\\Python23\\lib\\site-packages\\numarray',
'C:\\Python23\\lib\\site-packages\\PythonPrograms']
It's the next to last entry.
Inside my numarray directory there is a file libnumarray.pyd.
I reinstalled numarray & checked the version for Python2.2. All I see in
each version is libnumarray.pyd.
Is there anything obvious that I'm missing or should try ?
Thanks,
Steven Gutstein