美文网首页
安装OpenGL报错

安装OpenGL报错

作者: B0ZZ | 来源:发表于2020-07-10 11:49 被阅读0次

环境:windows server 2019(64位)
版本:python 3.6
安装代码:

pip install PyOpenGL PyOpenGL_accelerate -i http://pypi.douban.com/simple --trusted-host pypi.douban.com

报错:Attempt to call an undefined function glutSolidTeapot
原因:默认安装软件包版本指定错误(默认32位)
解决方法:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyopengl下载适配自己环境的PyOpenGL和PyOpenGL_accelerate,随后安装本地whl文件

相关文章

网友评论

      本文标题:安装OpenGL报错

      本文链接:https://www.haomeiwen.com/subject/zsnpcktx.html