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"