summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutils/installer/install.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/utils/installer/install.sh b/utils/installer/install.sh
index 28ed990c..355b0ecc 100755
--- a/utils/installer/install.sh
+++ b/utils/installer/install.sh
@@ -171,8 +171,10 @@ function install_nodejs_deps() {
function install_python_deps() {
echo "Verifying that pip is available.."
if ! python3 -m ensurepip &>/dev/null; then
- print_missing_dep_msg "pip"
- exit 1
+ if ! command -v pip3 &>/dev/null; then
+ print_missing_dep_msg "pip"
+ exit 1
+ fi
fi
echo "Installing with pip.."
for dep in "${__pip_deps[@]}"; do