No module named 'sdl2'

Hi, I get the following error while trying to import PdrawRendered through the streaming.py example.

from olympe.video.renderer import PdrawRenderer

File “/home/amir/anaconda3/envs/olympus/lib/python3.8/site-packages/olympe/doc/examples/temp.py”, line 4, in
from olympe.video.renderer import PdrawRenderer
File “/home/amir/anaconda3/envs/olympus/lib/python3.8/site-packages/olympe/video/renderer.py”, line 2, in
import sdl2
ModuleNotFoundError: No module named ‘sdl2’
ERROR conda.cli.main_run:execute(33): Subprocess for ‘conda run [‘python’, ‘/home/amir/anaconda3/envs/olympus/lib/python3.8/site-packages/olympe/doc/examples/temp.py’]’ command failed. (See above for error)

1 Like

This topic was automatically closed after 30 days. New replies are no longer allowed.