Skip to content

Commit 79b131e

Browse files
committed
so101: pin lerobot version and include readme
1 parent f2213b0 commit 79b131e

3 files changed

Lines changed: 16 additions & 2 deletions

File tree

extensions/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ To install hardware exentsion use
44
```shell
55
pip install -ve <extension> # e.g. rcs_fr3
66
```
7-
Some extensions need further dependencies or further setups. Please to check out their readme pages for details.
7+
Some extensions need further dependencies or further setups. Please to check out their readme pages for details.
8+
When installing the SO101 extension, make sure to check its `README_IMPORTANT.md` for dealing with dependency conflict.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# RCS SO101 Extension
2+
3+
## Package Dependency Issue Workaround
4+
The extension for SO101 depends on the `lerobot` package, which depends on `opencv-python-headless`, which uninstalls RCS' own `opencv-python` dependency install.
5+
Since the extension doesn't care about the OpenCV-dependent parts of `lerobot`, this package works fine even with the full `opencv-python`, but it needs to be re-installed manually.
6+
You can do it by the following:
7+
```
8+
pip uninstall opencv-python-headless
9+
pip uninstall opencv-python
10+
pip install opencv-python~=4.10.0.84
11+
```
12+
which will reinstall the correct version of OpenCV to the environment.
13+
Unfortunately, there's no easy automated solution for it, so it needs to be done manually each time this extension is installed with `pip install -e .`.

extensions/rcs_so101/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ version = "0.5.0"
88
description="RCS SO101 module"
99
dependencies = [
1010
"rcs>=0.5.0",
11-
"lerobot @ git+https://github.com/huggingface/lerobot.git",
11+
"lerobot==0.3.3",
1212
]
1313
readme = "README.md"
1414
maintainers = [

0 commit comments

Comments
 (0)