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