cant manage to install it through PIP...
PS C:\Users\> pip install git+https://github.com/Sonkun/python-sfml#egg=pysfml
Collecting pysfml from git+https://github.com/Sonkun/python-sfml#egg=pysfml
Cloning https://github.com/Sonkun/python-sfml to c:\users\~1\appdata\local\temp\pip-build-flg0_a_e\pysfml
No files/directories in C:\Users\~1\AppData\Local\Temp\pip-build-flg0_a_e\pysfml\pip-egg-info (from PKG-INFO)
PS C:\Users\>
I remember that I managed installing it with a similar command, but I dont remember how...
I couldn't get your command to work either, not sure if it ever will.
For now, how about trying to manually install it?
pip install cython
git clone https://github.com/Sonkun/python-sfml
cd python-sfml
python setup.py
Did the trick for me. On Windows you'll probably need to run it in an administrator terminal/shell/cmd. At least on GNU/Linux I had to run python setup as root.
I'm abandonning as it requires VC++... I'm not on my computers, it's a very small laptop.
Any idea when pysfml will hit the pypi repo again?
@jokoon There are some prebuilt binaries of cython for windows you could try, here; http://www.lfd.uci.edu/~gohlke/pythonlibs/#cython
It looks like pySFML is no longer available at PyPi. Do you have any idea if there are plans to bring it back/curate it?
@wtty-fool See #147.
Still having problems with pip,
pip install pySFML
gives:
Collecting pySFML Could not find a version that satisfies the requirement pySFML (from versions: ) No matching distribution found for pySFML
@mattstone22133 Cool.
I managed to build it, by editing the setup.py, installing swig for cython, etc
It builds fine except when I do import sf, I have
Traceback (most recent call last):
File ".\sf.py", line 5, in <module>
from sfml import sf
File "C:\Users\eio\AppData\Local\Programs\Python\Python36\lib\site-packages\pysfml-2.3.2.dev1-py3.6-win-amd64.egg\sfml\__init__.py", line 4, in <module>
import sfml.audio
ImportError: DLL load failed: The specified module could not be found.