I'm trying to run a Python script on headless Isaac Sim. The script runs perfectly with vanilla Python but returns an error when run with PDG.
For example, this code:
import subprocess file_path = r"C:\Users\Andrey\Desktop\temp\Render_standalone.py" script_path = r"C:\Users\Andrey\AppData\Local\ov\pkg\isaac-sim-2023.1.1\python.bat" subprocess.run([script_path, file_path], shell=True)
ImportError: DLL load failed while importing _ctypes: The specified module could not be found.
I believe it has something to do with the environment, but I can't figure out what exactly. Any ideas on what could be causing this?