SliTaz SliTaz Forum

You are not logged in.

#1 2015-12-03 20:40:14

mscythe
Member
Registered: 2012-02-24
Posts: 76

ImportError: cannot import name QtOpenGL

Hi devs,

I am trying to package makehuman (http://www.makehuman.org).

When I try to run python makehuman.py, it throws [...] ImportError: cannot import name QtOpenGL

I am not familiar with python environment, I could package python-opengl and python-opengl-accelerate. Now, seems like it needs PyQt-x11-gpl to be compiled with libQtOpenGL and mesa (probably) but I couldn't make it.

So anyone could help me with that?

Thank you

Offline

#2 2015-12-10 15:40:14

mscythe
Member
Registered: 2012-02-24
Posts: 76

Re: ImportError: cannot import name QtOpenGL

I "repackaged" PyQt-x11-gpl with libQtOpenGL in dependencies.

libQtOpenGL already have mesa as depends, so it's not needed in PyQt-x11-gpl.

I installed python-opengl and python-opengl-accelerate, but I still get the error when I try to run:

python makehuman.py

Any hints?

Offline

#3 2015-12-10 21:09:08

llev
Member
Registered: 2011-12-09
Posts: 568

Re: ImportError: cannot import name QtOpenGL

I don't know anything about python, but maybe you need to add lib*-dev in the build dependencies.

Dependencies are for running the executable, you must first compile it in such a way that it uses the said lib.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]