Skip to content

Commit ac4d4db

Browse files
k1000daimakolonimstevenpmwork
authored
Add pythno3-dev in Dockerfile to build and modify Readme.md , python-dev to python3-dev (huggingface#987)
Co-authored-by: makolon <[email protected]> Co-authored-by: Steven Palma <[email protected]>
1 parent 4508186 commit ac4d4db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ pip install -e .
116116
```
117117
118118
> **NOTE:** If you encounter build errors, you may need to install additional dependencies (`cmake`, `build-essential`, and `ffmpeg libs`). On Linux, run:
119-
`sudo apt-get install cmake build-essential python-dev pkg-config libavformat-dev libavcodec-dev libavdevice-dev libavutil-dev libswscale-dev libswresample-dev libavfilter-dev pkg-config`. For other systems, see: [Compiling PyAV](https://pyav.org/docs/develop/overview/installation.html#bring-your-own-ffmpeg)
119+
`sudo apt-get install cmake build-essential python3-dev pkg-config libavformat-dev libavcodec-dev libavdevice-dev libavutil-dev libswscale-dev libswresample-dev libavfilter-dev pkg-config`. For other systems, see: [Compiling PyAV](https://pyav.org/docs/develop/overview/installation.html#bring-your-own-ffmpeg)
120120

121121
For simulations, 🤗 LeRobot comes with gymnasium environments that can be installed as extras:
122122
- [aloha](https://github.com/huggingface/gym-aloha)

docker/lerobot-gpu-dev/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1414
tcpdump sysstat screen tmux \
1515
libglib2.0-0 libgl1-mesa-glx libegl1-mesa \
1616
speech-dispatcher portaudio19-dev libgeos-dev \
17-
python${PYTHON_VERSION} python${PYTHON_VERSION}-venv \
17+
python${PYTHON_VERSION} python${PYTHON_VERSION}-venv python${PYTHON_VERSION}-dev \
1818
&& apt-get clean && rm -rf /var/lib/apt/lists/*
1919

2020
# Install ffmpeg build dependencies. See:

0 commit comments

Comments
 (0)