diff --git a/scripts/install_dependencies.sh b/scripts/install_dependencies.sh index 095dc94f81..7d7d52a22f 100755 --- a/scripts/install_dependencies.sh +++ b/scripts/install_dependencies.sh @@ -72,7 +72,7 @@ git clone --recursive $_OMPI_REPO cd ompi git checkout $_OMPI_COMMIT_HASH git submodule update --init --recursive -python3 -m venv --system-site-packages --without-pip venv +python3 -m ensurepip && python3 -m venv venv || python3 -m venv --system-site-packages --without-pip venv . venv/bin/activate python3 -m pip install -r docs/requirements.txt ./autogen.pl