环境中没有安装 LeRobot 包,所以找不到 lerobot_train 模块
# 确保在 ~/lerobot 目录下,且激活了 lerobot_py310 环境 conda activate lerobot_py310 cd ~/lerobot # 安装 LeRobot(使用国内镜像加速) pip install -e . -i https://pypi.tuna.tsinghua.edu.cn/simplecd ~/lerobot
pip install --upgrade pip
pip install -e . -i https://pypi.tuna.tsinghua.edu.cn/simple
安装完成后的正确用法
安装成功后,你可以用两种方式运行训练:
方式1:使用命令行工具(推荐)
bash:
lerobot-train \
看到问题了!你的环境中没有安装 LeRobot 包,所以找不到 lerobot_train 模块。
从你的输出可以看到:
- find . -name lerobot_train 没有任何输出 → 说明当前目录下没有这个文件