0

有 2 个问题在这里那里解决相同的问题,并且由于某种原因,两者都在没有解决方案的情况下关闭。根据包安装文档,我使用以下内容进行安装:

wget https://carla-releases.s3.eu-west-3.amazonaws.com/Linux/CARLA_0.9.12.tar.gz
mkdir carla
tar -zxvf CARLA_0.9.12.tar.gz -C carla
cd carla
./ImportAssets.sh
pip install pygame
pip install PythonAPI/carla/dist/carla-0.9.12-cp37-cp37m-manylinux_2_27_x86_64.whl

然后我运行使用:

sudo apt-get install libomp5 
./CarlaUE4.sh

我收到一个错误:

Refusing to run with the root privileges.

所以,我创建了一个新用户

adduser xyz
sudo -u xyz ./CarlaUE4.sh

我收到以下错误:

chmod: changing permissions of '/content/carla/CarlaUE4/Binaries/Linux/CarlaUE4-Linux-Shipping': Operation not permitted
4.26.2-0+++UE4+Release-4.26 522 0
Disabling core dumps.
sh: 1: xdg-user-dir: not found
error: XDG_RUNTIME_DIR not set in the environment.
error: XDG_RUNTIME_DIR not set in the environment.
error: XDG_RUNTIME_DIR not set in the environment.

这是笔记本的链接


4

0 回答 0