[英]PyOpenGL installation on macOS Big Sur
See the: Unable to import opengl.gl in python on macos Check the second answer (the first will only fix OpenGL.GL but not OpenGL.GLUT).
你需要设置:
fullName = "/System/Library/Frameworks/{}.framework/{}".format(name,name)
在文件 OpenGL/platform/ctypesloader.py 中(确切的绝对位置取决于您的安装)。
尤瓦尔。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.