From 5d5c0fbff7ebe5c5991fb99a1cfeb57d5014ad42 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 21 Sep 2022 10:19:33 +0100 Subject: [PATCH] check for active conda environment (#4970) (#4971) --- reinstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reinstall.sh b/reinstall.sh index 6ab10b5dadd4..2711af17cfd9 100755 --- a/reinstall.sh +++ b/reinstall.sh @@ -24,7 +24,7 @@ if [ ! -z "${NVIDIA_PYTORCH_VERSION}" ] then echo 'Installing NeMo in NVIDIA PyTorch container:' ${NVIDIA_PYTORCH_VERSION} 'so will not install numba' else - if [ -x "$(command -v conda)" ] + if [ -n "${CONDA_PREFIX}" ] then NUMBA_VERSION=0.55 echo 'Installing numba=='${NUMBA_VERSION}