C:\Python\python.exe C:/Users/Franck/PycharmProjects/Pong/Pong.py
Traceback (most recent call last):
File "C:\Python\lib\site-packages\sdl2\dll.py", line 105, in <module>
dll = _DLL("SDL2", ["SDL2", "SDL2-2.0"], os.getenv("PYSDL2_DLL_PATH"))
File "C:\Python\lib\site-packages\sdl2\dll.py", line 52, in __init__
(libinfo, dllmsg))
RuntimeError: could not find any library for SDL2 (PYSDL2_DLL_PATH: unset)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:/Users/Franck/PycharmProjects/Pong/Pong.py", line 4, in <module>
from sdl2 import *
File "C:\Python\lib\site-packages\sdl2\__init__.py", line 2, in <module>
from .dll import get_dll_file, _bind
File "C:\Python\lib\site-packages\sdl2\dll.py", line 107, in <module>
raise ImportError(exc)
ImportError: could not find any library for SDL2 (PYSDL2_DLL_PATH: unset)
Process finished with exit code 1
Partager