Python MakeHuman没有运行OpenGL错误

Python MakeHuman没有运行OpenGL错误,python,python-2.7,python-3.x,opengl,Python,Python 2.7,Python 3.x,Opengl,我在google上读了所有相同的错误帖子,检查了我的python和opengl文件,然后安装了更多python内容(显示与此问题相关) 从源头上 PyOpenGL-3.1.1a1 在尝试启动mankhuman.py时,我仍然会遇到这个错误 NUMPY.VERSION: 1.11.1 Traceback (most recent call last): File "./makehuman.py", line 827, in <module> main() File "./makehum

我在google上读了所有相同的错误帖子,检查了我的python和opengl文件,然后安装了更多python内容(显示与此问题相关)

从源头上 PyOpenGL-3.1.1a1

在尝试启动mankhuman.py时,我仍然会遇到这个错误

NUMPY.VERSION: 1.11.1
Traceback (most recent call last):
File "./makehuman.py", line 827, in <module>
main()
File "./makehuman.py", line 817, in main
from mhmain import MHApplication
File "./core/mhmain.py", line 45, in <module>
import mh
File "./lib/mh.py", line 43, in <module>
from glmodule import grabScreen, hasRenderSkin, renderSkin, getPickedColor, hasRenderToRenderbuffer, renderToBuffer, renderAlphaMask
File "./lib/glmodule.py", line 42, in <module>
import OpenGL
ImportError: No module named OpenGL
NUMPY.VERSION:1.11.1
回溯(最近一次呼叫最后一次):
文件“/makehuman.py”,第827行,在
main()
文件“/makehuman.py”,第817行,在main中
从mhmain导入MH应用程序
文件“/core/mhmain.py”,第45行,在
进口mh
文件“/lib/mh.py”,第43行,在
从glmodule导入抓取屏幕,hasRenderSkin、renderSkin、getPickedColor、hasRenderToRenderbuffer、renderToBuffer、RenderPhask
文件“/lib/glmodule.py”,第42行,在
导入OpenGL
ImportError:没有名为OpenGL的模块

我现在不知所措,因为我想不出来。。有人想到了可以(将)工作吗?

您需要安装提供OpenGL库的软件包。通常,这些都包含在图形卡的开发或库包中。看起来Void Linux并不是为您安装依赖项,所以您需要自己安装它们,这取决于您使用的图形驱动程序。如果使用mesa,请安装
MesaLib-devel
。如果使用Nvidia,请安装
Nvidia libs
。如果你使用AMD,我不知道你应该安装什么。我不熟悉voidlinux,所以您可能需要尝试上面的变体。祝你好运

你在运行哪个操作系统?噢@meepzh~Linux Void Linux不是一个常规的Linux,不像它不是Ubuntututu或debian它是Void Linux:D我以前在这个Linux中有这个功能,但我更改了硬盘,在这个硬盘上安装了它,现在我忘了我做了什么,只记得从repo安装了一些python,还有那个源代码openGL,它工作了。但现在不是。我知道我错过了什么,我只是不记得是什么[userx@voided~]$glxinfo | grep OpenGL OpenGL供应商字符串:X.Org OpenGL渲染器字符串:AMD CAICOS上的镓0.4(DRM 2.43.0,LLVM 3.8.0)OpenGL核心配置文件版本字符串:3.3(核心配置文件)Mesa 11.2.2 OpenGL核心概要文件着色语言版本字符串:3.30 OpenGL核心概要文件上下文标志:(无)OpenGL核心配置文件掩码:核心配置文件OpenGL核心配置文件扩展:OpenGL版本字符串:3.0 Mesa 11.2.2 OpenGL着色语言版本字符串:1.30这是什么意思?只需通过谷歌搜索并检查OpenGL,我就知道了错误这不是错误。你只是告诉我你的显卡驱动程序是什么版本。哦,去他妈的。。。这是浪费你的时间,去喝杯咖啡。。。谢谢你的帮助
NUMPY.VERSION: 1.11.1
Traceback (most recent call last):
File "./makehuman.py", line 827, in <module>
main()
File "./makehuman.py", line 817, in main
from mhmain import MHApplication
File "./core/mhmain.py", line 45, in <module>
import mh
File "./lib/mh.py", line 43, in <module>
from glmodule import grabScreen, hasRenderSkin, renderSkin, getPickedColor, hasRenderToRenderbuffer, renderToBuffer, renderAlphaMask
File "./lib/glmodule.py", line 42, in <module>
import OpenGL
ImportError: No module named OpenGL