mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-01 19:42:07 +08:00
ubuntu setup
old-commit-hash: 59b63d1950275d55253821f69590a95e1388bd9d
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user