Skip to content

Commit

Permalink
Add --upgrade to pip3 installation to upgrade necessary packages that…
Browse files Browse the repository at this point in the history
… may already be installed.

PiperOrigin-RevId: 287577423
Change-Id: I3a6ac9b2d7af47ca0616fc89ec3faff38249198d
  • Loading branch information
DeepMind Technologies Ltd authored and open_spiel@google.com committed Dec 30, 2019
1 parent 57a65ae commit 2bb8aa9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions open_spiel/scripts/travis_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,14 @@
set -e
set -x

# Need this to be able to install TF >= 1.15 on Ubuntu 18.04.
sudo pip3 install --upgrade pip
sudo pip3 install --upgrade setuptools

virtualenv -p python ./venv
source ./venv/bin/activate

python --version

pip3 install --upgrade pip
pip3 install --upgrade setuptools
pip3 install -r requirements.txt -q
pip3 install --upgrade -r requirements.txt -q

./open_spiel/scripts/build_and_run_tests.sh
deactivate

0 comments on commit 2bb8aa9

Please sign in to comment.