ubuntu setup

old-commit-hash: 59b63d1950
commatwo_master
Comma User 5 years ago
parent e7dbaac272
commit c982e18146
  1. 12
      tools/ubuntu_setup.sh

@ -1,4 +1,8 @@
#!/bin/bash -e #!/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 \ sudo apt-get update && sudo apt-get install -y \
autoconf \ autoconf \
build-essential \ 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 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 # TODO: add pyenv to .bashrc
pyenv install 3.7.3 pyenv install 3.7.3
pyenv global 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 pip install -r tools/requirements.txt
# to make modeld work on PC with nvidia GPU
pip install tensorflow-gpu==2.0

Loading…
Cancel
Save