Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是初学者。 我想在 linux 中使用 pyopengl,但我有一个问题。 我尝试如下导入 pyopengl 模块:
from OpenGl.GL import *
但解释器显示此错误消息:
Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named OpenGl.Gl
我该怎么办?
Python 是一种区分大小写的语言。G和都L应该是大写字母:
G
L
from OpenGL.GL import *