无法获得适用于Python 2.7的SFML [英] Can't get SFML for Python 2.7

查看:95
本文介绍了无法获得适用于Python 2.7的SFML的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要做什么 我正在尝试获取python 2.7的SFML绑定.使用Windows的python 32位版本.

What I'm trying to do I'm trying to get the SFML binding for Python 2.7. 32-bit version of python using windows.

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

我尝试过的事情

该exe不起作用,因为当您单击或保存链接时,它不返回任何内容并表示丢失. 我还使用PIP安装了我拥有的Cython,尽管当我尝试使用PIP下载pysfml,pySFML,python-sfml或sfml-python时,pip告诉我:

There exe doesn't work because when you click or save the link it returns nothing and says it's missing. I also used PIP to install Cython which I have, though when I try to use PIP to download pysfml, pySFML, python-sfml or sfml-python, pip tells me:

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

当我尝试pip安装-vvv pysfml

When I try pip install -vvv pysfml

它还告诉我pysfml没有匹配的发行版.

It also tells me that there is no matching distribution for pysfml.

我要的东西

我如何下载该库?我如何才能在python 2.7中使用它

How do I download this library? How do I get it to work for python 2.7

推荐答案

已通过电子邮件发送了PySFML的主要开发人员,他们对此进行了回复:

Have emailed the main developers of PySFML and they responded with this:

感谢您告诉我们,我们对此非常了解.我已经重写了每个页面(下载+编译),但是下载链接与尚未创建的实际按编译包一起提供.我将在完成设置后立即上载它们,以设置持续集成服务,该服务将自动交付这些按编译的程序包.

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.

期待事情完成前一周.

看起来这只是正在进行的站点检修的一部分,应该尽快解决.

Looks like it's just part of the site overhaul that's on-going and should be resolved soon.

此外:

从未上传过.^^直到最近,这些绑定才准备就绪(请参阅最近的提交).但是,您可以直接从存储库中进行pip安装,它必须类似于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:您必须使用SFML 2.3.2

PS: you must use SFML 2.3.2

这篇关于无法获得适用于Python 2.7的SFML的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆