ubuntu 下 安装 PyOpenGL

来源:互联网 发布:网络课程录制软件 编辑:程序博客网 时间:2024/06/01 07:57

Most users of PyOpenGL should use pip to install PyOpenGL automatically. 采用下面的命令行

$ pip install PyOpenGL PyOpenGL_accelerate
安装好以后 跑程序的时候出现 undefined function 异常
OpenGL
.error.NullFunctionError: Attempt to call an undefined function glutInit, check for bool(glutInit) before calling
解决方案:安装
python-opengl
命令行 :
sudo apt-get install python-opengl


0 0
原创粉丝点击