加入收藏 | 设为首页 | 会员中心 | 我要投稿 莱芜站长网 (https://www.0634zz.com/)- 云连接、建站、智能边缘云、设备管理、大数据!
当前位置: 首页 > 综合聚焦 > Ubuntu > 正文

ubuntu 下 安装 PyOpenGL

发布时间:2020-07-16 10:15:12 所属栏目:Ubuntu 来源:互联网
导读:Most users of PyOpenGL should use pip to install PyOpenGL automatically. 采用下面的命令行 $ pip install PyOpenGL PyOpenGL_accelerate 安装好以后 跑程序的时候出现 undefined function 异常 OpenGL.error.NullFunctionError: Attemp

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
解决方案:安装 undefined functionpython-opengl
命令行 :
sudo apt-get install python-opengl

(编辑:莱芜站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读