IsaacLab icon indicating copy to clipboard operation
IsaacLab copied to clipboard

[Bug Report] Container install failed

Open swstbecrpgmail opened this issue 1 year ago • 5 comments

When I run ./docker/container.sh on Ubuntu 20.04, it reports that:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. 15.21 nvidia-srl-usd 0.13.0 requires tqdm<5.0.0,>=4.63.0, which is not installed. 15.21 nvidia-srl-usd 0.13.0 requires usd-core<24.00,>=21.11, which is not installed.

Sorry to bother you again, but I truly wonder why it occurs. I would greatly appreciate it if you could help me solve this problem or give some potential solutions.

image image image image

swstbecrpgmail avatar Apr 30 '24 13:04 swstbecrpgmail

Additionally, the docker version is 26.1.1, and the docker-compose version is 1.25.0.

swstbecrpgmail avatar May 04 '24 13:05 swstbecrpgmail

I also encountered the "usd-core missing" issue when using the v0.3.0 version of orbit and building the orbit image following the official instructions.

image

MuhongGuo avatar May 06 '24 10:05 MuhongGuo

The issue can be workaround if I add a step in Dockerfile.base to install usd-core. See:

# Install usd-core 
RUN ${ORBIT_PATH}/orbit.sh -p -m pip install usd-core==23.11

# installing Orbit dependencies
# use pip caching to avoid reinstalling large packages
RUN --mount=type=cache,target=${DOCKER_USER_HOME}/.cache/pip \
    ${ORBIT_PATH}/orbit.sh --install --extra

cc @Mayankm96

MuhongGuo avatar May 06 '24 10:05 MuhongGuo

The issue can be workaround if I add a step in Dockerfile.base to install usd-core. See:

# Install usd-core 
RUN ${ORBIT_PATH}/orbit.sh -p -m pip install usd-core==23.11

# installing Orbit dependencies
# use pip caching to avoid reinstalling large packages
RUN --mount=type=cache,target=${DOCKER_USER_HOME}/.cache/pip \
    ${ORBIT_PATH}/orbit.sh --install --extra

cc @Mayankm96

Thank you very much! This really solves some errors for me! But one error relative to robomimic still remains: image I will truely appreciate it if anyone has potential solutions or tell me the possible reasons for this error.

swstbecrpgmail avatar May 06 '24 11:05 swstbecrpgmail

@swstbecrpgmail I think it's a network issue when cloning robomimic. I also had this issue but a retry can resolve it.

In case you don't need robomimic in your project, you can modify Dockerfile.base to only install other dependencies: ${ORBIT_PATH}/orbit.sh --install --extra rl_games,rsl_rl,sb3.

If you do need robomimic, you may refer to this solution and test it with this command in a new terminal: git clone https://github.com/ARISE-Initiative/robomimic.git.

MuhongGuo avatar May 07 '24 02:05 MuhongGuo

@swstbecrpgmail I think it's a network issue when cloning robomimic. I also had this issue but a retry can resolve it.

In case you don't need robomimic in your project, you can modify Dockerfile.base to only install other dependencies: ${ORBIT_PATH}/orbit.sh --install --extra rl_games,rsl_rl,sb3.

If you do need robomimic, you may refer to this solution and test it with this command in a new terminal: git clone https://github.com/ARISE-Initiative/robomimic.git.

I apologize for not being able to respond to you in a timely manner due to being quite busy recently. Based on your reply, I just tested your solution. While I failed to install robomimic, I successfully installed orbit. Thank you again for your response!

Additionally, I couldn't run the demo script correctly in the lastest-version orbit, so I still choose to work on the old version.

Again, Thank you very much!

swstbecrpgmail avatar May 25 '24 12:05 swstbecrpgmail

Update! The reason for my installation failure is most likely due to the unstable network (I am a developer in China). If you encounter installation failures similar to the failures mentioned above, just try a few more times.

swstbecrpgmail avatar May 26 '24 13:05 swstbecrpgmail