macOS: Fix missing pip command issue. (#22924)

* Fixed missing pip command issue.

* add path to openpilot_env.sh for mac
old-commit-hash: a87190342bbe30aa4fd09c1f9586d9a7060e8b76
This commit is contained in:
eFini
2021-11-17 18:23:05 +08:00
committed by GitHub
parent 0c26c21c9c
commit 22ea8f17c2
2 changed files with 9 additions and 8 deletions
+1
View File
@@ -61,6 +61,7 @@ fi
# install python
PYENV_PYTHON_VERSION=$(cat $OP_ROOT/.python-version)
PATH=$HOME/.pyenv/bin:$HOME/.pyenv/shims:$PATH
pyenv install -s ${PYENV_PYTHON_VERSION}
pyenv rehash
eval "$(pyenv init -)"