简体   繁体   中英

how to install carla simulator in google colab

I am trying to run carla simulator in a google colab with python jupyter notebook. I followed the guide and I executed the following commands

!pip install pygame
!pip install numpy
!sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 304F9BC29914A77D
!sudo add-apt-repository "deb [arch=amd64 trusted=yes] http://dist.carla.org/carla-0.9.8/ all main"
!sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys DB53A429E64554FC &&
!sudo add-apt-repository "deb [arch=amd64 trusted=yes] http://dist.carla.org/carla-0.9.7/ all main"
!sudo apt-get update
!sudo apt-get install carla

however when I tried to run it I got an error

Package carla is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

E: Package 'carla' has no installation candidate

how can I install the carla simulator on google colab?

You can try to use this repo: https://github.com/MichaelBosello/carla-colab
There is google colab notebook with pre-installed Carla.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM