Python OpenGL学习(1): 环境配置及错误篇

系统环境是:Ubuntu 14.04

个人首次接触OpenGL,学到哪就写到哪。

1.模块安装:

sudo apt-get install python-opengl
pip install PyOpenGL PyOpenGL_accelerate

(解释:这个安装是因为出现了该错误:
OpenGL.error.NullFunctionError: Attempt to call an undefined function glutInit, check for bool(glutInit) before calling
posted @ 2016-04-21 16:20  风也沉默  阅读(497)  评论(0编辑  收藏  举报