Question

I'm installing MakeHuman on Debian, so all dependencies was set up, but when launching it's an error:

SYS.PLATFORM: linux2
PLATFORM.MACHINE: x86_64
PLATFORM.PROCESSOR: 
PLATFORM.UNAME.RELEASE: 2.6.32.26
PLATFORM.LINUX_DISTRIBUTION: debian 6.0.6 
NUMPY.VERSION: 1.6.2
OpenGL_accelerate module loaded
Using accelerated ArrayDatatype
Unable to load numpy_formathandler accelerator from OpenGL_accelerate
Unable to load registered array format handler numeric
Traceback (most recent call last):
  File "makehuman.py", line 310, in <module>
    main()
  File "makehuman.py", line 300, in main
    from mhmain import MHApplication
  File "./core/mhmain.py", line 32, in <module>
    import mh
  File "./lib/mh.py", line 29, in <module>
    from glmodule import updatePickingBuffer, grabScreen, hasRenderSkin, renderSkin
  File "./lib/glmodule.py", line 33, in <module>
    from OpenGL.GL import *
  File "/usr/lib/python2.7/dist-packages/OpenGL/GL/__init__.py", line 3, in <module>
    from OpenGL.raw.GL.annotations import *
  File "/usr/lib/python2.7/dist-packages/OpenGL/raw/GL/annotations.py", line 40, in <module>
    'v',
  File "/usr/lib/python2.7/dist-packages/OpenGL/arrays/arrayhelpers.py", line 197, in setInputArraySizeType
    function.setPyConverter( argName, asArrayTypeSize(type, size) )
  File "arraydatatype.pyx", line 393, in OpenGL_accelerate.arraydatatype.AsArrayTypedSizeChecked.__init__ (src/arraydatatype.c:7688)
AttributeError: 'module' object has no attribute 'sizeof'

Does anyone solve problems with link PyOpenGL+ numpy?

Was it helpful?

Solution

fixed that on my system by issuing:

sudo easy_install -U PyOpenGL


Noting:

good luck

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top