SFML community forums
Bindings - other languages => Python => Topic started by: reaverdeath101 on August 26, 2013, 06:53:09 am
-
I have sfml2.1 and cython 0.19.1 and trying to install pysfml v.1.3, it seems to install but then I get this error when trying to import sfml:
>>> import sfml
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/site-packages/sfml/__init__.py", line 12, in <module>
from sfml.window import *
ImportError: dlopen(/usr/local/lib/python2.7/site-packages/sfml/window.so, 2): Symbol not found: __ZN2sf6StringC1EPKcRKSt6locale
Referenced from: /usr/local/lib/python2.7/site-packages/sfml/window.so
Expected in: flat namespace
in /usr/local/lib/python2.7/site-packages/sfml/window.so
no idea where to start troubleshooting this :(
-
pySFML v1.3 is based on SFML 2.0 :)
-
Thanks. I've changed to sfml 2.0 but am still getting the error though :S
-
There are two versions available for download http://www.sfml-dev.org/download/sfml/2.0/
You probably need to install the other one.
-
sorry, yeah, now it works :)