ImportError: libjpeg.so.8: cannot open shared object file: No such file or directory

I’ve installed carla version 0.9.4. When running import carla, I encountered the following error:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/miniconda3/envs/macad-gym/lib/python3.6/site-packages/carla/__init__.py", line 7, in <module>
    from .libcarla import *
ImportError: libjpeg.so.8: cannot open shared object file: No such file or directory

I understand this has something to do with shared libraries, however I don’t have libjpeg.so.8 in my /usr/lib/x86_64-linux-gnu/, I only have libjpeg.so.62. What are the workarounds for this?

Hey Kai, are you not able to install libjpeg.so.8?