The Donkey library has several components.
It is first and foremost a python library installed where your other python libraries are (e.g. system python or virtualenv). After installation, you can import it as any normal python library:
import donkeycar as dk
It also has a CLI with tools mainly used to aid training:
donkey --help
A Vehicle application, installed to the ~/d2 directory by default. This is where you'll find the manage.py script, which is used for both driving and training.
~/d2/manage.py --help
In [ ]:
# Make sure we're in SageMaker root
%cd ~/SageMaker
# Install
!pip install ~/SageMaker/donkey
In [ ]:
# Create a new car using the library CLI
!donkey createcar --path ~/d2
Installation is now finished. You'll find the manage.py script in the ~/d2 directory as usual.
Note that you need to install the Donkey library for every new Jupyter notebook you create. Cloning the git you only need to do once per Notebook instance though.
In [ ]: