Skip to content

Commit

Permalink
[pipeline] Upgrade python version to python3.8 (#22503)
Browse files Browse the repository at this point in the history
* python3.8

* python3.8

* python3.8
  • Loading branch information
msyyc authored Jan 14, 2022
1 parent 9c85b94 commit 7da396f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/automation_init.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
#!/bin/bash

# install python3.8
sudo apt-get install python3.8
sudo apt-get install python3.8-venv

# init env
rm -rf $TMPDIR/venv-sdk
python3 -m venv $TMPDIR/venv-sdk
python3.8 -m venv $TMPDIR/venv-sdk
VIRTUAL_ENV=$TMPDIR/venv-sdk
export VIRTUAL_ENV
PATH="$VIRTUAL_ENV/bin:$PATH"
Expand Down

0 comments on commit 7da396f

Please sign in to comment.