Fix Python version reader on Linux

This commit is contained in:
Cem Gökmen 2023-09-13 10:43:07 -07:00 committed by GitHub
parent 806ba6159f
commit d83b66e2b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ conda_name=${conda_name:-omnigibson}
echo -e "\nUsing $conda_name as the conda environment name\n"
# Get Python version from Isaac Sim
ISAAC_PYTHON_VERSION=$(${ISAAC_SIM_PATH}/python -c "import platform; print(platform.python_version())")
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
# Create a conda environment with the appropriate python version