From e5b619f7e0158ce1cfc9d05c2caad7662d9c84ca Mon Sep 17 00:00:00 2001 From: vince-ai Date: Mon, 16 Oct 2023 22:26:19 -0700 Subject: [PATCH] linux setup fix --- scripts/setup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/setup.sh b/scripts/setup.sh index 238369233..0c6474f2b 100755 --- a/scripts/setup.sh +++ b/scripts/setup.sh @@ -28,7 +28,8 @@ echo -e "\nUsing $conda_name as the conda environment name\n" # Get Python version from Isaac Sim ISAAC_PYTHON_VERSION=$(${ISAAC_SIM_PATH}/python.sh -c "import platform; print(platform.python_version())") -echo Using Python version $ISAAC_PYTHON_VERSION[0m matching your current Isaac Sim version +ISAAC_PYTHON_VERSION="${ISAAC_PYTHON_VERSION##*$'\n'}" # get rid of conda activation warnings +echo Using Python version $ISAAC_PYTHON_VERSION matching your current Isaac Sim version # Create a conda environment with the appropriate python version source $(conda info --base)/etc/profile.d/conda.sh