Skip to content
This repository was archived by the owner on Dec 14, 2020. It is now read-only.

Commit 8859883

Browse files
committed
Install virtualenv only if missing
1 parent 30f5055 commit 8859883

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

experiments/acl2017.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ set -e
1111
# }
1212
mkdir -p hershcovich2017a
1313
cd hershcovich2017a
14-
pip install --user virtualenv
14+
python -m virtualenv --version || pip install --user virtualenv || true
1515
python -m virtualenv --python=/usr/bin/python3 venv
1616
. venv/bin/activate # on bash
1717
pip install "tupa>=1.0,<1.1"

experiments/acl2018.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ set -e
1111
# }
1212
mkdir -p hershcovich2018multitask
1313
cd hershcovich2018multitask
14-
pip install --user virtualenv
14+
python -m virtualenv --version || pip install --user virtualenv || true
1515
python -m virtualenv --python=/usr/bin/python3 venv
1616
. venv/bin/activate # on bash
1717
pip install "tupa==1.3.2"

0 commit comments

Comments
 (0)