gpt4 book ai didi

python - 无法为 Python 2.7 获取 SFML

转载 作者:行者123 更新时间:2023-11-28 18:25:20 25 4
gpt4 key购买 nike

我想做什么我正在尝试为 Python 2.7 获取 SFML 绑定(bind)。使用 windows 的 32 位版本的 python。

https://python-sfml.org/download.html

我尝试过的

exe 不起作用,因为当您单击或保存链接时,它什么都不返回,并说它丢失了。我还使用 PIP 安装我拥有的 Cython,尽管当我尝试使用 PIP 下载 pysfml、pySFML、python-sfml 或 sfml-python 时,pip 告诉我:

Could not find a version that satisfies the requirement sfml(from versions:)
No matching distribution found for pysfml.

当我尝试 pip install -vvv pysfml 时

它还告诉我没有匹配的 pysfml 分布。

我要的是什么

如何下​​载这个库?我如何让它适用于 python 2.7

最佳答案

已向 PySFML 的主要开发人员发送电子邮件,他们的回复是:

Thanks for letting us know, we're very aware of this. I already rewrote each page (download + compilation) but download links come with the actual per-compiled packages which aren't created yet. I'll upload them as soon as I finish to setup the continuous integration service that will automate the delivery of these per-compiled packages.

Expect one week before things are done.

看起来这只是正在进行的网站大修的一部分,应该很快就会解决。

此外:

There were never uploaded.^^ These bindings had never been ready for this until recently (see recent commits). However, you can pip install directly from the repository, it must be something like pip git+https://github.com/Sonkun/python-sfml?egg=pySFML.

I know compiling these bindings isn't a straight forward task, however, feel free to ask for assistance. :)

PS: you must use SFML 2.3.2

关于python - 无法为 Python 2.7 获取 SFML,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41810246/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com