diff --git a/tools/rapids-print-env b/tools/rapids-print-env index fe8e308..1991f9c 100755 --- a/tools/rapids-print-env +++ b/tools/rapids-print-env @@ -13,7 +13,9 @@ arch rapids-logger "Check python version" python --version -rapids-logger "Check conda environment" -conda info -conda config --show-sources -conda list --show-channel-urls +if command -v conda > /dev/null; then + rapids-logger "Check conda environment" + conda info + conda config --show-sources + conda list --show-channel-urls +fi