ubuntu setup

pull/1175/head
Comma User 2020-02-28 20:18:02 -08:00
parent 8c5f843fa3
commit 59b63d1950
1 changed files with 12 additions and 0 deletions

View File

@ -1,4 +1,8 @@
#!/bin/bash -e
# NOTE: ubuntu_setup.sh doesn't run! only for reading now
exit 0
sudo apt-get update && sudo apt-get install -y \
autoconf \
build-essential \
@ -41,6 +45,11 @@ sudo apt-get update && sudo apt-get install -y \
curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
# git lfs to pull models
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
sudo apt-get install git-lfs
# in the openpilot repo -- git lfs pull
# TODO: add pyenv to .bashrc
pyenv install 3.7.3
pyenv global 3.7.3
@ -67,3 +76,6 @@ sudo apt install ffmpeg libavformat-dev libavcodec-dev libavdevice-dev libavutil
pip install -r tools/requirements.txt
# to make modeld work on PC with nvidia GPU
pip install tensorflow-gpu==2.0