This repository was archived by the owner on Dec 14, 2020. It is now read-only.
File tree 2 files changed +8
-6
lines changed 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,10 @@ set -e
11
11
# }
12
12
mkdir -p hershcovich2017a
13
13
cd hershcovich2017a
14
- pip install --user virtualenv
15
- python -m virtualenv --python=/usr/bin/python3 venv
16
- . venv/bin/activate # on bash
14
+ if python -m virtualenv --version || pip install --user virtualenv; then
15
+ python -m virtualenv --python=/usr/bin/python3 venv
16
+ . venv/bin/activate # on bash
17
+ fi
17
18
pip install " tupa>=1.0,<1.1"
18
19
git clone https://github.com/huji-nlp/ucca-corpora --branch v1.2
19
20
mkdir -p models wiki-sentences 20k-sentences
Original file line number Diff line number Diff line change @@ -11,9 +11,10 @@ set -e
11
11
# }
12
12
mkdir -p hershcovich2018multitask
13
13
cd hershcovich2018multitask
14
- pip install --user virtualenv
15
- python -m virtualenv --python=/usr/bin/python3 venv
16
- . venv/bin/activate # on bash
14
+ if python -m virtualenv --version || pip install --user virtualenv; then
15
+ python -m virtualenv --python=/usr/bin/python3 venv
16
+ . venv/bin/activate # on bash
17
+ fi
17
18
pip install " tupa==1.3.2"
18
19
git clone https://github.com/huji-nlp/ucca-corpora --branch v1.2
19
20
mkdir -p models wiki-sentences 20k{,-fr,-de}-sentences
You can’t perform that action at this time.
0 commit comments