From 2294f37f35b2c9d0b66b3b3d0b45bb703b8409d3 Mon Sep 17 00:00:00 2001 From: Vincent Moens Date: Fri, 20 Dec 2024 13:31:28 +0000 Subject: [PATCH] add conda init --- .github/unittest/windows_optdepts/scripts/setup_env.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/unittest/windows_optdepts/scripts/setup_env.sh b/.github/unittest/windows_optdepts/scripts/setup_env.sh index 06955631166..09d6f1f0253 100644 --- a/.github/unittest/windows_optdepts/scripts/setup_env.sh +++ b/.github/unittest/windows_optdepts/scripts/setup_env.sh @@ -15,10 +15,10 @@ cd "${root_dir}" # 2. Create test environment at ./env printf "* Creating a test environment\n" -conda create --prefix torchrl -y python="$PYTHON_VERSION" +conda init bash +conda create -n torchrl -y python="$PYTHON_VERSION" printf "* Activating the environment" -conda deactivate conda activate torchrl printf "Python version"