我在Ubuntu 16上使用Python3.5。在我的系统上,pip3似乎认为已经安装了GLFW (满足要求),但是在调用python3解释器时,我得到了一个导入错误:
>>> import glfw
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.5/dist-packages/glfw.py", line 194, in <module>
raise ImportError("Failed to load GLFW3 shared library.")
ImportError: Failed to load GLFW3 shared library.对于如何调试此错误,有任何建议吗?
发布于 2017-09-16 19:14:22
我认为您需要在系统上安装GLFW,然后才能成功地使用python包。Previous answer。
https://stackoverflow.com/questions/46257493
复制相似问题