Isaac Sim doesn't use the included Python interpreter, and instead uses the system-defined Python backend

Isaac Sim Version

4.5.0

Operating System

Ubuntu 22.04

Topic Description

Detailed Description

Isaac Sim 4.5 doesn’t seem to be aligned with the Omniverse Kit documentation regarding the Python environment. Embedded Python — Omniverse Kit

Out of the box, instead of using the included python executable (which is also indicated in the /plugins/carb.scripting-python.plugin/pythonHome setting of kit-core.json), it uses whichever executable is the default in the shell that launches it. It can thus be manipulated through the $PATH variable or similar, which shouldn’t be the behavior according to the documentation.

Steps to Reproduce

  1. Launch Isaac Sim with isaacsim/isaac-sim.sh
  2. Open Script Editor
  3. Run the following command: import sys; print(sys.executable)
  4. The script prints out /usr/bin/python3 instead of the kit-included executable.

I can make the behavior change by modifying the PATH variable:

  1. export PATH="${HOME}/isaacsim/kit/python":$PATH
  2. <repeat steps 1-3 above>
  3. The printout changes to /home/<username>/isaacsim/kit/python/python3 which is the expected one.

Screenshots or Videos

Is this expected behavior with Isaac Sim 4.5?

Hello, any feedback?