Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install Issues -> Add Devcontainer #427

Open
2 tasks
MichaelrMentele opened this issue Sep 10, 2024 · 1 comment
Open
2 tasks

Install Issues -> Add Devcontainer #427

MichaelrMentele opened this issue Sep 10, 2024 · 1 comment
Assignees

Comments

@MichaelrMentele
Copy link

System Info

- `lerobot` version: unknown
- Platform: Linux-6.8.0-39-generic-x86_64-with-glibc2.39
- Python version: 3.12.5
- Huggingface_hub version: N/A
- Dataset version: N/A
- Numpy version: 2.0.0
- PyTorch version (GPU?): N/A (N/A)
- Cuda version: N/A
- Using GPU in script?: n/a

Information

  • One of the scripts in the examples/ folder of LeRobot
  • My own task or dataset (give details below)

Reproduction

poetry install --sync --extras "dynamixel"

 - Installing evdev (1.7.1): Failed

  ChefBuildError

  Backend subprocess exited when trying to invoke build_wheel

  running bdist_wheel
  running build
  running build_py
  creating build
...

Running the OpenCV install instructions also fails

conda install -c conda-forge ffmpeg
pip uninstall opencv-python
conda install -c conda-forge opencv>=4.10.0

Error:

conda install -c conda-forge ffmpeg
pip uninstall opencv-python
conda install -c conda-forge opencv>=4.10.0
Error while loading conda entry point: conda-libmamba-solver (libarchive.so.19: cannot open shared object file: No such file or directory)

CondaValueError: You have chosen a non-default solver backend (libmamba) but it was not recognized. Choose one of: classic

WARNING: Skipping opencv-python as it is not installed.
Error while loading conda entry point: conda-libmamba-solver (libarchive.so.19: cannot open shared object file: No such file or directory)

CondaValueError: You have chosen a non-default solver backend (libmamba) but it was not recognized. Choose one of: classic

Expected behavior

Rather than try to debug this particular issue and N others like, I'd like to suggest adding a docker dev container to sidestep these problems. It looks like you already have the docker files.

@aliberts
Copy link
Collaborator

aliberts commented Sep 11, 2024

Hi there,

- Installing evdev (1.7.1): Failed

Yes I've also had issues with evdev previously. Depending on your distribution, some header files are sometimes not in the correct location which make building the wheel fail (might be the issue). Take a look at their install doc, it can probably help

Running the OpenCV install instructions also fails

Can you try this? (with classic solver and no version constraint)

conda install --solver classic -c conda-forge opencv

Rather than try to debug this particular issue and N others like, I'd like to suggest adding a docker dev container to sidestep these problems. It looks like you already have the docker files.

We do have a dev docker file that is tailored for us to use on our cluster. You can still try to use it though, the image is available here. Unfortunately in general we've had a lot of issues making some of our dependencies (Mujoco in particular) work in containers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants