Pygame package error when installing arducopter tools ‘install-prereqs-ubuntu.sh’ on RPi 4 running ubuntu 20.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pygame (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The error message log is below:
Collecting pygame
Using cached pygame-2.1.2.tar.gz (10.1 MB)
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/
cwd: /tmp/pip-
Complete output (29 lines):
WARNING, No “Setup” File Exists, Running “buildconfig/
Using UNIX configuration…
/bin/sh: 1: sdl2-config: not found
/bin/sh: 1: sdl2-config: not found
/bin/sh: 1: sdl2-config: not found
Traceback (most recent call last):
File “”, line 1, in
File “/tmp/pip-
buildconfig.
File “/tmp/pip-
deps = CFG.main(**kwds)
File “/tmp/pip-
DependencyProg(
File “/tmp/pip-
self.ver = config[0].strip()
IndexError: list index out of range
Hunting dependencies…
—
For help with compilation see:
Compilation - pygame wiki
To contribute to pygame development see:
Contribute - pygame wiki
—
-------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.