Install Donkeycar on Linux


Note : tested on Ubuntu 18.04 LTS

bash ./
  • Change to a dir you would like to use as the head of your projects.
mkdir projects
cd projects
  • Get the latest donkeycar from Github.
git clone
cd donkeycar
git checkout master
  • If this is not your first install, update Conda and remove old donkey
conda update -n base -c defaults conda
conda env remove -n donkey
  • Create the Python anaconda environment
conda env create -f install/envs/ubuntu.yml
conda activate donkey
pip install -e .[pc]
  • Optional Install Tensorflow GPU - only for NVidia Graphics cards

You should have an NVidia GPU with the latest drivers. Conda will handle installing the correct cuda and cuddn libraries for the version of tensorflow you are using.

conda install tensorflow-gpu==1.13.1
  • Optional Install Coral edge tpu compiler

If you have a Google Coral edge tpu, you may wish to compile models. You will need to install the edgetpu_compiler exectutable. Follow their instructions.

  • Create your local working dir:
donkey createcar --path ~/mycar

Note: After closing the Anaconda Prompt, when you open it again, you will need to type conda activate donkey to re-enable the mappings to donkey specific Python libraries

Next let's install software on Donkeycar