安装pyOpenGL/python-opengl

Ubuntu中安装

原想通过http://pyopengl.sourceforge.net/中所述的pip安装,

[email protected]:~/pip-10.0.0$ pip install PyOpenGL PyOpenGL_accelerate

但是出现问题:

安装pyOpenGL/python-opengl

只要作罢。

改用[email protected]:~$ sudo apt-get install python-opengl

安装pyOpenGL/python-opengl



Windows安装

根据https://pypi.python.org/pypi/PyOpenGL下载对应的文件:

安装pyOpenGL/python-opengl

根据版本下载PyOpenGL, 因为没有最新的PyOpenGL还没有支持到python3.5, 所以下载PyOpenGL 3.1.0

安装时,选择python2.7:

安装pyOpenGL/python-opengl

安装即可。

------

我的安装提示了错误:

        could not create key

        PyOPenGL-3.6/2.7