Problems with Custom RL Example using Stable Baselines

I have running Custom RL Example using Stable Baselines tutorial and I and facing following problem

D:\Omniverse\isaac_sim-2022.2.1>python.bat “D:\Projektit\Digital twin\Demos\”
Traceback (most recent call last):
File “D:\Projektit\Digital twin\Demos\”, line 1, in
from omni.isaac.core.utils.nucleus import get_assets_root_path
ModuleNotFoundError: No module named ‘omni.isaac.core’
There was an error running python

Examples from Omniverse Isaac Gym Reinforcement Learning Environments for Isaac Sim are working without problems. What is wrong ?

Hi @petri.seppanen - It seems that is trying to import the Omni.isaac.core module but not able find it. This is because this module is not on the python path.

Can you try to install omni.isaac.core using pip. More information can be found here: 5. Python Environment Installation — Omniverse Robotics documentation