Import omni.replicator.core -- not found

Trying to run the Running Replicator Headlessly tutorial for the 2022.1.1 Replicator.

The line:
import omni.replicator.core as rep
fails - not found. Though omni and omni.replicator import just fine.

This does seem to work when running in the script editor inside Isaac sim.

One challenge - the instructions give a way to launch (I’m on ubuntu) using
From a terminal go to that folder, there you will find that there is for Linux or omni.code.replicator.bat for Windows. To run headless from a terminal you will use the following command:
There is no file - at that level or any other level. I’m using the ./ method to launch - or try to launch - what’s worked in the past.

(Hoping this is a num-num question!)
Thanks again!

Hello @peter.gaston! I’ve reached out to the dev team for help. I will post back when I have more information!

I am facing the same issue with the latest version of Isaac Sim (2022.1.1) it was working fine with previous version

fyi - I think… that if you follow their sample code - something else needs to be loaded first. I can’t remember off the top of my head. But look at their code that does this.

Good luck - p

Were you able to resolve this issue ?

Yes. By using their sample code I got things to work, after a fashion. Certainly got past this issue.

Good luck!