Can't run '.py' script by using vscode on Win10

i am going through the tutorial, about Standalone Application 5. Isaac Sim Workflows — Omniverse Robotics documentation

i have navigated follow_target_with_rmpflow.py. After i double clicked it i does not automatically run on Isaac stage. how can i figure it out, thanks for your help!

🍖:
[图片]

🍖:
PS D:\isaacSim\library\isaac_sim-2022.1.1\exts\omni.isaac.franka> & C:/Users/lihao/AppData/Local/Programs/Python/Python310/python.exe d:/isaacSim/library/isaac_sim-2022.1.1/exts/omni.isaac.franka/omni/isaac/franka/franka.py
Traceback (most recent call last):
File “d:\isaacSim\library\isaac_sim-2022.1.1\exts\omni.isaac.franka\omni\isaac\franka\franka.py”, line 11, in

Error:
from omni.isaac.core.robots.robot import Robot
ModuleNotFoundError: No module named ‘omni’
PS D:\isaacSim\library\isaac_sim-2022.1.1\exts\omni.isaac.franka>

That is an extension python file and can only be run as an extension

For standalone samples see the standalone_examples folder like the docs mention:

https://docs.omniverse.nvidia.com/app_isaacsim/app_isaacsim/tutorial_intro_workflows.html#running-your-first-standalone-application