diff --git a/create-venv.sh b/create-venv.sh index bbaee0e..6e8e8e9 100755 --- a/create-venv.sh +++ b/create-venv.sh @@ -130,7 +130,7 @@ fi # ----------------------------------------------------------------------------- # CPU architecture -CPU_ARCH="$(python3 -c 'import platform; print(platform.machine())')" +CPU_ARCH="$(uname --m)" case "${CPU_ARCH}" in x86_64) FRIENDLY_ARCH=amd64 diff --git a/download-dependencies.sh b/download-dependencies.sh index f3b5e6b..0bb2baf 100755 --- a/download-dependencies.sh +++ b/download-dependencies.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash this_dir="$( cd "$( dirname "$0" )" && pwd )" -cpu_arch="$(python3 -c 'import platform; print(platform.machine())')" +cpu_arch=$(uname --m) # ----------------------------------------------------------------------------- # Command-line Arguments