Giter VIP home page Giter VIP logo

Comments (6)

StoneT2000 avatar StoneT2000 commented on June 9, 2024 1

Here's a new fix. apparently git cloning the v0.21.0 version of gym and then doing a local install works

!mkdir -p /usr/share/vulkan/icd.d
!wget -q https://raw.githubusercontent.com/haosulab/ManiSkill2/main/docker/nvidia_icd.json
!wget -q https://raw.githubusercontent.com/haosulab/ManiSkill2/main/docker/10_nvidia.json
!mv nvidia_icd.json /usr/share/vulkan/icd.d
!mv 10_nvidia.json /usr/share/glvnd/egl_vendor.d/10_nvidia.json
# dependencies
!pip install setuptools==65.5.0
!apt-get install -y --no-install-recommends libvulkan-dev
!git clone --depth 1 --branch v0.21.0 https://github.com/openai/gym.git
!pip install -e gym
!pip install mani_skill2 stable_baselines3
!pip install --upgrade --no-cache-dir gdown

this is now the new setup code for colab specifically, you can try this @megatran

I'll also update this on all tutorials.

from maniskill.

megatran avatar megatran commented on June 9, 2024 1

you guys are the best. Thanks so much @StoneT2000 !!! It works!

So while waiting for the colab fix, I attempted to run maniskills2 on a gpu server and ran into a different problem. I created a separate issue here https://github.com/haosulab/ManiSkill2/issues/86

from maniskill.

StoneT2000 avatar StoneT2000 commented on June 9, 2024

Damn for some reason colab keeps changing. For example, my colab is suddenly now in python 3.10. I'm currently trying to investigate this but I think this may just be a call for #76 to be completed which includes a gymnasium upgrade. Gym has some bugs that just break with newer versions of setuptools and probably the importlibmetadata package, which are both auto installed and upgraded by Colab.

from maniskill.

StoneT2000 avatar StoneT2000 commented on June 9, 2024

https://stackoverflow.com/questions/76129688/why-is-pip-install-gym-failing-with-python-setup-py-egg-info-did-not-run-succ we are not alone :/

from maniskill.

megatran avatar megatran commented on June 9, 2024

thank you for the quick reply 😭😭😭 would you recommend setting a local environment with python 3.8 meanwhile?

from maniskill.

StoneT2000 avatar StoneT2000 commented on June 9, 2024

Yeah if you have your own GPU I recommend a local environment using Conda. in the mean time ill try and find a work around.

from maniskill.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.