File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,12 +22,14 @@ setup_docuploader() {
2222 curl -fsSL --retry 10 -o /tmp/jar1.jar https://github.com/googleapis/java-docfx-doclet/releases/download/1.9.0/docfx-doclet-1.9.0-jar-with-dependencies.jar
2323 # Update Python 3 and Maven
2424 sudo apt-get update
25- sudo apt-get install -y python3 python3-pip maven
25+ sudo apt-get install -y python3 python3-pip python3-venv maven
2626 # install docuploader package with upgrade to get latest correct versions.
2727 echo " Trying to install gcp-docuploader."
28- python3 -m pip install --require-hashes --upgrade pip --user
29- python3 -m pip install --require-hashes gcp-docuploader --user
30- python3 -m pip install --require-hashes --upgrade protobuf --user
28+ python3 -m venv env
29+ source env/bin/activate
30+ python3 -m pip install --require-hashes --upgrade pip
31+ python3 -m pip install --require-hashes gcp-docuploader==0.7.2
32+ python3 -m pip install --require-hashes --upgrade protobuf
3133}
3234
3335if [[ -z " ${CREDENTIALS} " ]]; then
You can’t perform that action at this time.
0 commit comments