Skip to content
Sign upLog in
← Back to Community

Pygame: Repl.it: Package operation failed.

Profile icon
JasonBWilson

Trying to import pygame and get error:

"Repl.it: Package operation failed."

After selecting Pygame from the packages and hitting the +, the install starts to run, but ends with:

"Hunting dependencies...
WARNING: "sdl-config" failed!
Unable to run "sdl-config". Please makesure a development version of SD
L is installed.
----------------------------------------
ERROR: Command errored out with exit status1: python setup.py egg_info Chec
k the logs for full command output.
WARNING: You are using pip version 19.2.3, however version 20.0.2 is availab
le.
You should consider upgrading via the 'pip install --upgrade pip' command.

add [-D|--dev] [--git GIT] [--path PATH] [-E|--extras EXTRAS] [--optional] [--python PYTHON] [--platform PLATFORM] [--allow-prereleases] [--dry-run] [--] ()...

exit status 1

Repl.it: Package operation failed.
"

Voters
Profile icon
KeyNYT
Profile icon
JoshuaSmith23
Profile icon
yui7443874
Profile icon
anes001
Profile icon
KyleCLAYTON1
Profile icon
chloehylee
Profile icon
JasonBWilson