Skip to content

Commit 04356b0

Browse files
authored
PYTHON-3498 Error installing virtual environment on zseries hosts (#1101) (#1103)
1 parent 9083821 commit 04356b0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.evergreen/utils.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ createvirtualenv () {
1818
echo "Cannot test without virtualenv"
1919
exit 1
2020
fi
21-
$VIRTUALENV $VENVPATH
21+
# Workaround for bug in older versions of virtualenv.
22+
$VIRTUALENV $VENVPATH || $PYTHON -m venv $VENVPATH
2223
if [ "Windows_NT" = "$OS" ]; then
2324
# Workaround https://bugs.python.org/issue32451:
2425
# mongovenv/Scripts/activate: line 3: $'\r': command not found

0 commit comments

Comments
 (0)