carla: carla-simulator : Depends: libjpeg8 but it is not installable
OS: Debian 10.5 x86_64 (4.19.0-10-amd64)
I’m trying to install with the deb instructions in the quick start guide:
sudo apt-get update
sudo apt-get install carla-simulator
cd /opt/carla-simulator
However, after apt-get install carla-simulator, it fails with this error:
The following packages have unmet dependencies:
carla-simulator : Depends: libjpeg8 but it is not installable
E: Unable to correct problems, you have held broken packages.
After this, the cd /opt/carla-simulator
fails as the directory doesn’t exist.
Running sudo apt-get install -f
doesn’t help.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 15 (5 by maintainers)
OK, I was able to install the libraries from the packages
libjpeg-turbo8
andlibtiff-dev
usingapt-get
. I am now encountering an error involving the fonts when runningmanual_control.py
orautomatic_conrol.py
.sudo docker exec -e PYTHONPATH=/home/carla/PythonAPI/carla/dist/carla-0.9.10-py3.7-linux-x86_64.egg <container_id> python3 PythonAPI/examples/manual_control.py
The client starts, but then it fails with this error.
Do you have any information about this error? It looks similar to #1475.
See my answer: https://unix.stackexchange.com/a/723619/114401
I had the exact same issue, and I believe I have resolved it. The pygame.fonts module uses the CLI tool ‘fc-list’ to get the system fonts list. https://github.com/pygame/pygame/blob/45acd6f14555587e4fe44c5e033c0c9b9b68e2a8/src_py/sysfont.py#L232 That has to be installed in your container by
apt install fontconfig