I have a problem with pysdl2. I am trying to run examples from site-packages \ sdl2 \ examples and see this error:
c:\Python33\Lib\site-packages\sdl2\examples>python draw.py Traceback (most recent call last): File "draw.py", line 10, in <module> import sdl2.ext as sdl2ext File "C:\Python33\lib\site-packages\sdl2\ext\__init__.py", line 14, in <module> from .common import * File "C:\Python33\lib\site-packages\sdl2\ext\common.py", line 8, in <module> from .. import sdlttf File "C:\Python33\lib\site-packages\sdl2\sdlttf.py", line 40, in <module> os.getenv("PYSDL2_DLL_PATH")) File "C:\Python33\lib\site-packages\sdl2\dll.py", line 51, in __init__ raise RuntimeError("could not find any library for %s" % libinfo) RuntimeError: could not find any library for SDL2_ttf
But files that do not use sdl2_ttf (for example, sdl2hello.py) work correctly and without errors. I do not know how to solve it.
Additional Information: WinXP SP3 32bit
source share