A few notes as it might help someone (who understands that this is only an experiment because the software was designed for Ubuntu 18.04).
In order to install Carla simulator on Ubuntu 22.04
A partially working instructions
Install the preconditions
sudo apt install libomp5
This will resolve the error:
/opt/carla-simulator/CarlaUE4/Binaries/Linux/CarlaUE4-Linux-Shipping: error while loading shared libraries: libomp.so.5: cannot open shared object file: No such file or directory
sudo apt install python3-open3d
This will resolve the error:
ERROR: Could not find a version that satisfies the requirement open3d (from versions: none)
ERROR: No matching distribution found for open3d
If you are using Ubuntu 22.04 with Python 3.10+, don’t run: pip3 install -r /opt/carla-simulator/PythonAPI/examples/requirements.txt
because you will get the following error:
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for numpy
Failed to build numpy
ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects