Unable to find modules while loading pkl file

hi developers ,

I had some troubles earlier with the python path to isaacsim which are now solved seemingly. The issue was this: Pip installation isaac sim 4.2.0, missing /setup_conda_env.sh.

However, it did not solve what I was trying to do, which is:

  • I have made an extension that implements my own environment and algorithms for a MARL problem.
  • At some point, my training crashed. I save the pkl file of the agent
  • When trying to open the pkl file, I get the following error:

    My simulation works fine when I call it through my extension or through the Isaaclab repo.

My suspicion is that it has trouble to import the modules because of the naming convention, omni.kit.app is found here: /home/isaac-sim/Jack_Zeng/IsaacLab/_isaac_sim/kit/kernel/py/omni/kit/app. It’s in a folder, and neither omni nor kit are actually modules.

I was not able to recreate this in the isaaclab repo, so it might have to do with the extension structure?
I am using the recommended isaac lab extension structure: GitHub - isaac-sim/IsaacLabExtensionTemplate: External extenstion template based on Isaac Lab

Thanks in advance!

Kind regards,
Jack

Hi @jack-zeng

Please, note that the two installation ways 1) using PIP in a Python virtual environment or conda and 2) the binary installation (that need the symlink _isaac_sim) should not be merged