Pyglet 加载 GLU 库失败
Pyglet fails to load GLU library
我的 pyglet 应用程序无法 运行,只给出错误 ImportError: Library "GLU" not found.
我已经在整个系统的 virtualenv 中安装了 PyOpenGL 和 libgl1,并尝试多次重新安装所有内容。似乎没有任何帮助。类似问题提到可能和我的显卡有关,是Intel Corporation HD Graphics 5500 (rev 09)
。有人有什么想法吗?
更多详情
- Python版本:3.7
- IDE:Pycharm 社区
- OS: elementaryOS v5.0 Juno
- 安装方式:Flatpak
- 显卡驱动程序:
Intel Corporation Broadwell-U Integrated Graphics
您很可能缺少 freeglut
的开发人员包。
在您的 OS 包管理器中查找 freeglut-devel
:
sudo apt install freeglut-devel
不要通过 flatpak 安装 pycharm,无论出于何种原因不起作用。通过 pycharm 网站安装。
我的 pyglet 应用程序无法 运行,只给出错误 ImportError: Library "GLU" not found.
我已经在整个系统的 virtualenv 中安装了 PyOpenGL 和 libgl1,并尝试多次重新安装所有内容。似乎没有任何帮助。类似问题提到可能和我的显卡有关,是Intel Corporation HD Graphics 5500 (rev 09)
。有人有什么想法吗?
更多详情
- Python版本:3.7
- IDE:Pycharm 社区
- OS: elementaryOS v5.0 Juno
- 安装方式:Flatpak
- 显卡驱动程序:
Intel Corporation Broadwell-U Integrated Graphics
您很可能缺少 freeglut
的开发人员包。
在您的 OS 包管理器中查找 freeglut-devel
:
sudo apt install freeglut-devel
不要通过 flatpak 安装 pycharm,无论出于何种原因不起作用。通过 pycharm 网站安装。