update scripts, preload h5py to fix windows bug when using GUI.

This commit is contained in:
wertyuilife
2026-04-11 01:03:52 +08:00
parent 81fea30614
commit 3a3e8f95fa
2 changed files with 6 additions and 4 deletions

View File

@@ -14,8 +14,9 @@ import argparse
import os
import sys
# Preload tensordict's native extension before isaacsim/Kit modules are imported
# to avoid a Windows access violation when RSL-RL imports it later.
# Preload native extensions before isaacsim/Kit modules are imported to avoid
# Windows DLL loader conflicts when Isaac Lab/RSL-RL import them later.
import h5py # noqa: F401
import tensordict # noqa: F401
from isaaclab.app import AppLauncher

View File

@@ -14,8 +14,9 @@ import argparse
import os
import sys
# Preload tensordict's native extension before isaacsim/Kit modules are imported
# to avoid a Windows access violation when RSL-RL imports it later.
# Preload native extensions before isaacsim/Kit modules are imported to avoid
# Windows DLL loader conflicts when Isaac Lab/RSL-RL import them later.
import h5py # noqa: F401
import tensordict # noqa: F401
from isaaclab.app import AppLauncher