Installation & Deployment
Clone RoboDriver and enter the project directory:
git clone https://github.com/FlagOpen/RoboDriver.git && cd RoboDriver
We recommend using uv or miniconda to manage your Python environment.
info
If your robot integration needs ROS/ROS2, prefer Miniconda or the system Python. You can follow the same commands below for the system environment as Miniconda.
- uv
- miniconda
Install uv:
pip install uv
Create and activate a virtual environment:
uv venv .venv
source .venv/bin/activate
Install miniconda:
Installing Miniconda
Create and activate a virtual environment:
conda create -n robodriver python==3.10
conda activate robodriver
Install packages
- uv
- miniconda
uv pip install -e .
Or:
uv sync
Ensure the environment is activated:
pip install -e .
Extra dependency step:
LeRobot installs opencv-python-headless by default. RoboDriver uses OpenCV for visualization, so swap in the non-headless version.
- uv
- miniconda
Uninstall opencv-python-headless
uv pip uninstall -y opencv-python-headless
Install opencv-python
uv pip install opencv-python
Ensure the environment is activated
Uninstall opencv-python-headless
pip uninstall -y opencv-python-headless
Install opencv-python
pip install opencv-python