update to python 3.8.5 (#20217)

old-commit-hash: 2034a04750
commatwo_master
Adeeb Shihadeh 4 years ago committed by GitHub
parent d670eb4125
commit 8ec4fa1002
  1. 2
      .python-version
  2. 4
      Dockerfile.openpilot_base
  3. 4
      tools/mac_setup.sh
  4. 6
      tools/ubuntu_setup.sh
  5. 1
      tools/webcam/README.md

@ -1 +1 @@
3.8.2 3.8.5

@ -54,8 +54,8 @@ RUN curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-instal
ENV PATH="/root/.pyenv/bin:/root/.pyenv/shims:${PATH}" ENV PATH="/root/.pyenv/bin:/root/.pyenv/shims:${PATH}"
COPY Pipfile Pipfile.lock /tmp/ COPY Pipfile Pipfile.lock /tmp/
RUN pyenv install 3.8.2 && \ RUN pyenv install 3.8.5 && \
pyenv global 3.8.2 && \ pyenv global 3.8.5 && \
pyenv rehash && \ pyenv rehash && \
pip install --no-cache-dir --upgrade pip==20.1.1 && \ pip install --no-cache-dir --upgrade pip==20.1.1 && \
pip install --no-cache-dir pipenv==2020.8.13 && \ pip install --no-cache-dir pipenv==2020.8.13 && \

@ -35,8 +35,8 @@ if [ -z "$OPENPILOT_ENV" ] && [ -n "$RC_FILE" ] && [ -z "$CI" ]; then
echo "Added openpilot_env to RC file: $RC_FILE" echo "Added openpilot_env to RC file: $RC_FILE"
fi fi
pyenv install -s 3.8.2 pyenv install -s 3.8.5
pyenv global 3.8.2 pyenv global 3.8.5
pyenv rehash pyenv rehash
eval "$(pyenv init -)" eval "$(pyenv init -)"

@ -80,9 +80,9 @@ git lfs pull
git submodule init git submodule init
git submodule update git submodule update
# install python 3.8.2 globally (you should move to python3 anyway) # install python
pyenv install -s 3.8.2 pyenv install -s 3.8.5
pyenv global 3.8.2 pyenv global 3.8.5
pyenv rehash pyenv rehash
# **** in python env **** # **** in python env ****

@ -2,7 +2,6 @@
What's needed: What's needed:
- Ubuntu 20.04 - Ubuntu 20.04
- Python 3.8.2
- GPU (recommended) - GPU (recommended)
- Two USB webcams, at least 720p and 78 degrees FOV (e.g. Logitech C920/C615) - Two USB webcams, at least 720p and 78 degrees FOV (e.g. Logitech C920/C615)
- [Car harness](https://comma.ai/shop/products/comma-car-harness) with black panda to connect to your car - [Car harness](https://comma.ai/shop/products/comma-car-harness) with black panda to connect to your car

Loading…
Cancel
Save