问题标签 [ftgl]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
147 浏览

python - 安装 PyFTGL:找不到发行版

我正在尝试安装 PyFTGL,以在我的 OpenGL 项目中显示文本。

我通常使用 pip 安装库,但是

返回以下错误:

阅读此 wiki后,我也尝试了 easy_install ,但是

返回以下错误:

我究竟做错了什么 ?

我在我的 Macbook OSX Yosemite 上使用 python3.6。


编辑:安装依赖项(FTGL、freetype 和 boost-python)后,我似乎仍然想念一个库。python setup.py install从源代码目录运行命令时,我收到以下错误消息:

虽然我已经可以在 python 中做到这一点:from OpenGL.GLU import *