File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -56,12 +56,12 @@ prepare_server_from_url() {
56
56
}
57
57
58
58
install_mlaunch_virtualenv () {
59
- # export PATH=/opt/python/3.7/bin:$PATH
60
- python -V || true
61
- python3 -V || true
62
- # pip3 install --user virtualenv
59
+ python2 -V || true
60
+ # Current virtualenv fails with
61
+ # https://github.com/pypa/virtualenv/issues/1630
62
+ python -m pip install ' virtualenv<20 ' --user
63
63
venvpath=" $MONGO_ORCHESTRATION_HOME " /venv
64
- virtualenv $venvpath
64
+ python2 -m virtualenv -p python2 $venvpath
65
65
. $venvpath /bin/activate
66
66
pip install ' mtools-legacy[mlaunch]'
67
67
}
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ setup_ruby
25
25
26
26
prepare_server $arch
27
27
28
- install_mlaunch_pip
28
+ install_mlaunch_virtualenv
29
29
30
30
# Launching mongod under $MONGO_ORCHESTRATION_HOME
31
31
# makes its log available through log collecting machinery
You can’t perform that action at this time.
0 commit comments