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.
我在大学机器上,所以我没有 root 访问权限,我正在尝试使用 SimpleCV 中的绘图库。
因为我安装了没有字体的 pygame,但绘图功能似乎要求我有可用的字体。通过一些谷歌搜索,我发现 sdl_font 是依赖项,并将其编译到我的主目录中的一个文件夹中。
我的问题是:如何说服 pygame 在安装时识别该库的位置?
我尝试将我的 sdl_font 安装目录下的 lib 目录添加到 LD_LIBRARY_PATH 无济于事。
你有没有想过尝试pyglet?http://www.pyglet.org/
它具有“没有外部依赖项或安装要求”。