InternVLA-A1 icon indicating copy to clipboard operation
InternVLA-A1 copied to clipboard

安装RoboTwin后运行eval脚本遇到curobo无法import的问题

Open jyx-whu opened this issue 6 months ago • 2 comments

安装RoboTwin后运行eval脚本遇到以下关于curobo的报错,请问如何解决? $ bash evaluation/RoboTwin/eval.sh

MASTER_ADDR=127.0.0.1, MASTER_PORT=6379 SCRIPT_DIR = /home/jiangyx/vla_env0/InternVLA-A1/evaluation/RoboTwin PROJ_ROOT = /home/jiangyx/vla_env0/InternVLA-A1 /home/jiangyx/.conda/envs/internvla_a1/lib/python3.10/site-packages/sapien/init.py:2: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81. import pkg_resources [planner.py]: Something wrong happened when importing CuroboPlanner! Please check if Curobo is installed correctly. If the problem still exists, you can install Curobo from https://github.com/NVlabs/curobo manually. Exception traceback: Traceback (most recent call last): File "/home/jiangyx/vla_env0/InternVLA-A1/third_party/RoboTwin/envs/robot/planner.py", line 15, in from curobo.types.math import Pose as CuroboPose #FIXME - ModuleNotFoundError: No module named 'curobo' Traceback (most recent call last): File "/home/jiangyx/vla_env0/InternVLA-A1/third_party/RoboTwin/../../evaluation/RoboTwin/inference.py", line 470, in tyro.cli(main) File "/home/jiangyx/.conda/envs/internvla_a1/lib/python3.10/site-packages/tyro/_cli.py", line 282, in cli out = run_with_args_from_cli() File "/home/jiangyx/vla_env0/InternVLA-A1/third_party/RoboTwin/../../evaluation/RoboTwin/inference.py", line 466, in main infer_once(args) File "/home/jiangyx/vla_env0/InternVLA-A1/third_party/RoboTwin/../../evaluation/RoboTwin/inference.py", line 252, in infer_once TASK_ENV = class_decorator(task_args["task_name"]) File "/home/jiangyx/vla_env0/InternVLA-A1/third_party/RoboTwin/../../evaluation/RoboTwin/inference.py", line 131, in class_decorator envs_module = importlib.import_module(f"envs.{task_name}") File "/home/jiangyx/.conda/envs/internvla_a1/lib/python3.10/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/home/jiangyx/vla_env0/InternVLA-A1/third_party/RoboTwin/envs/adjust_bottle.py", line 1, in from ._base_task import Base_Task File "/home/jiangyx/vla_env0/InternVLA-A1/third_party/RoboTwin/envs/_base_task.py", line 17, in from .robot import Robot File "/home/jiangyx/vla_env0/InternVLA-A1/third_party/RoboTwin/envs/robot/init.py", line 1, in from .robot import * File "/home/jiangyx/vla_env0/InternVLA-A1/third_party/RoboTwin/envs/robot/robot.py", line 15, in from .planner import CuroboPlanner ImportError: cannot import name 'CuroboPlanner' from 'envs.robot.planner' (/home/jiangyx/vla_env0/InternVLA-A1/third_party/RoboTwin/envs/robot/planner.py)

jyx-whu avatar May 18 '26 01:05 jyx-whu

curobo版本太高了,降低至0.7.8应该可以

ShikangWang avatar May 18 '26 09:05 ShikangWang

curobo版本太高了,降低至0.7.8应该可以

谢谢,这一步解决了。

jyx-whu avatar May 25 '26 07:05 jyx-whu