Install an operating system using NOOBS
Install Basic LibrariesSince the Raspberry Pi is not as fast as larger computers, it can take a long time to install python packages (ie. numpy & PIL) using pip. Luckily Adafruit has precompiled these libraries into packages that can be installed via `apt-get`. 1. Open a terminal (Ctrl-Alt-t) and upgrade your system packages. sudo apt-get update sudo apt-get upgrade 3. Install necessary libraries sudo apt-get install xsel xclip libxml2-dev libxslt-dev libzmq-dev libspatialindex-dev virtualenv 4. Pandas & Jupyter Requirements sudo apt-get install python3-lxml python3-h5py python3-numexpr python3-dateutil python3-tz python3-bs4 python3-xlrd python3-tables python3-sqlalchemy python3-xlsxwriter python3-httplib2 python3-zmq 5. Scientific Python sudo apt-get install python3-numpy python3-matplotlib python3-scipy python3-pandas 6. Install Tensorflow (for running pilots locally)
sudo pip3 install tensorflow-0.12.1-cp34-cp34m-linux_armv7l.whl Install DonkeyRun the following commands in a bash terminal on your raspberry pi. virtualenv --system-site-packages -p python3 env source env/bin/activate pip install keras git clone http://github.com/wroscoe/donkey.git cd donkey pip install -e .[pi] python scripts/setup.py
6 Comments
Carlos
6/27/2017 08:39:33 pm
Guys, im currently running in a bit of a problem.
Reply
Will
6/27/2017 08:55:29 pm
Try joining the slack channel as this is the best place to get help. When you post your errors make sure to include what you typed and the full error message. Cheers.
Reply
Benjamin
1/3/2018 04:32:01 pm
make sure your in the donkey directory with the virtualenv activated (source env/bin/activate) then run python setup.py???
Reply
Benjamin
1/5/2018 09:13:25 am
Sorry, please dont pay attention to my comment, I didn't understand the question.
woat
1/14/2018 05:53:37 pm
Hi, seems I am good to go, went through all the commands on my raspberry pi, up to the last command! I do not have "scripts" folder. There is a setup.py file in the root and it is not running. (error: no commands supplied) Please advise.
Reply
Benjamin
1/29/2018 10:41:25 am
ignore that last line, just make sure you activated your virtual environment(source env/bin/activate) then installed donkeycar (pip install -e .[pi]), then type ' donkey createcar --path d2 ' to make your car directory.
Reply
Leave a Reply. |