Open nowionlyseedaylight opened 4 months ago
The files in Python modules are not directly runnable since they depend on Omniverse to be running first. This is because Omniverse extensions are hot-reloaded when the application is launched. They aren't available directly as Python modules.
There are ideas on how to make this possible but right now they are in the works (which may or may not become a thing). To verify your configs, you will first need to launch the simulation application.
Please check here for more info: https://isaac-orbit.github.io/orbit/source/setup/developer.html#standalone-applications
@Mayankm96 Thanks for your response. However, I'm pretty sure it's runnable in python modules (through ./orbit.sh -p ....), since it worked with the last version of orbit. My colleague made the additional folder in the _orbit/source/extensions/omni.isaac.orbit_tasks/omni/isaac/orbittasks/manipulation to implement the customized code. And it was possible to run the code file via local terminal.
But now, with this new version (or I'm not sure whether it's the problem of my situation) I continually get the error message like above. Is there any possibility for the reason of that error to be the orbit installation process? (for example, the module like omni.client may have been omitted)
If not, could it be implemented through standalone applications?
Question
I was running the code from orbit_tasks. However, I keep getting the error message that the module 'omni.client' cannot be imported. How can I solve this problem? I thought that I installed all packages provided by orbit.
vision@vision-Z690-AORUS-PRO-DDR4:~/orbit$ ./orbit.sh -p source/extensions/omni.isaac.orbit_tasks/omni/isaac/orbit_tasks/manipulation/reach/reach_env_cfg.py
[INFO] Using python from: /home/vision/.local/share/ov/pkg/isaac_sim-2023.1.0-hotfix.1/python.sh Traceback (most recent call last): File "/home/vision/orbit/source/extensions/omni.isaac.orbit_tasks/omni/isaac/orbit_tasks/manipulation/reach/reach_env_cfg.py", line 10, in
import omni.isaac.orbit.sim as sim_utils
File "/home/vision/orbit/source/extensions/omni.isaac.orbit/omni/isaac/orbit/sim/init.py", line 29, in
from .converters import * # noqa: F401, F403
File "/home/vision/orbit/source/extensions/omni.isaac.orbit/omni/isaac/orbit/sim/converters/init.py", line 20, in
from .asset_converter_base import AssetConverterBase
File "/home/vision/orbit/source/extensions/omni.isaac.orbit/omni/isaac/orbit/sim/converters/asset_converter_base.py", line 17, in
from omni.isaac.orbit.utils.assets import check_file_path
File "/home/vision/orbit/source/extensions/omni.isaac.orbit/omni/isaac/orbit/utils/assets.py", line 23, in
import omni.client
ModuleNotFoundError: No module named 'omni.client'
There was an error running python