Open MDMLab223 opened 1 year ago
Could you try interactive python: CUDA_VISIBLE_DEVICES=0 python
and run the following:
import mani_skill2.envs, gym
env=gym.make('Excavate-v0', obs_mode='pointcloud')
obs=env.reset()
Command:
import mani_skill2.envs, gym
Result:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/rl/anaconda3/envs/mani38/lib/python3.8/site-packages/mani_skill2/envs/__init__.py", line 4, in <module>
from .mpm import *
File "/home/rl/anaconda3/envs/mani38/lib/python3.8/site-packages/mani_skill2/envs/mpm/__init__.py", line 2, in <module>
from . import excavate_env
File "/home/rl/anaconda3/envs/mani38/lib/python3.8/site-packages/mani_skill2/envs/mpm/excavate_env.py", line 5, in <module>
from mani_skill2.envs.mpm.base_env import MPMBaseEnv
File "/home/rl/anaconda3/envs/mani38/lib/python3.8/site-packages/mani_skill2/envs/mpm/base_env.py", line 26, in <module>
from warp_maniskill.mpm.mpm_simulator import (
File "/home/rl/anaconda3/envs/mani38/lib/python3.8/site-packages/warp_maniskill/mpm/mpm_simulator.py", line 3, in <module>
from mpm.mpm_model import MPMModelBuilder, mpm_collide, Mesh, DenseVolume
File "/home/rl/anaconda3/envs/mani38/lib/python3.8/site-packages/warp_maniskill/mpm/mpm_model.py", line 1, in <module>
from warp.sim.model import Model, ModelBuilder, Vec3, Mesh, DenseVolume
ImportError: cannot import name 'DenseVolume' from 'warp.sim.model' (/home/rl/anaconda3/envs/mani38/lib/python3.8/site-packages/warp/sim/model.py)
Could you reinstall maniskill2 from scratch in a new conda environment? This should be maniskill2 install problem instead of maniskill2-learn.
Also did you pip install warp
? The warp referred by this command is different from the warp used in maniskill2, so you need to pip uninstall warp
and then install maniskill2 warp.
Hi MDMLab223,
Has the issue been resolved yet?
i have the same question and what is the warp version?
Compile
Version information
Compile command
python -m warp_maniskill.build_lib --cuda_path /usr/local/cuda-11.3 --mode debug
Result:
RUN
Command:
Result: