From 152d3a75630ea6331bb5e589f6ef00dc3a96e107 Mon Sep 17 00:00:00 2001 From: Xuwznln <18435084+Xuwznln@users.noreply.github.com> Date: Sun, 14 Dec 2025 13:12:19 +0800 Subject: [PATCH] Update docs --- README.md | 4 +++- README_zh.md | 4 +++- docs/user_guide/installation.md | 39 --------------------------------- 3 files changed, 6 insertions(+), 41 deletions(-) diff --git a/README.md b/README.md index 10552d6e..2e0288f3 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,9 @@ Uni-Lab-OS recommends using `mamba` for environment management. Choose the appro ```bash # Create new environment -mamba create -n unilab uni-lab::unilabos -c robostack-staging -c conda-forge +mamba create -n unilab python=3.11.11 +mamba activate unilab +mamba install -n unilab uni-lab::unilabos -c robostack-staging -c conda-forge ``` ## Install Dev Uni-Lab-OS diff --git a/README_zh.md b/README_zh.md index 810e2c55..76976ebf 100644 --- a/README_zh.md +++ b/README_zh.md @@ -41,7 +41,9 @@ Uni-Lab-OS 建议使用 `mamba` 管理环境。根据您的操作系统选择适 ```bash # 创建新环境 -mamba create -n unilab uni-lab::unilabos -c robostack-staging -c conda-forge +mamba create -n unilab python=3.11.11 +mamba activate unilab +mamba install -n unilab uni-lab::unilabos -c robostack-staging -c conda-forge ``` 2. 安装开发版 Uni-Lab-OS: diff --git a/docs/user_guide/installation.md b/docs/user_guide/installation.md index 6513150d..d3fd4982 100644 --- a/docs/user_guide/installation.md +++ b/docs/user_guide/installation.md @@ -317,45 +317,6 @@ unilab --help 如果所有命令都正常输出,说明开发环境配置成功! -### 开发工具推荐 - -#### IDE - -- **PyCharm Professional**: 强大的 Python IDE,支持远程调试 -- **VS Code**: 轻量级,配合 Python 扩展使用 -- **Vim/Emacs**: 适合终端开发 - -#### 推荐的 VS Code 扩展 - -- Python -- Pylance -- ROS -- URDF -- YAML - -#### 调试工具 - -```bash -# 安装调试工具 -pip install ipdb pytest pytest-cov -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple - -# 代码质量检查 -pip install black flake8 mypy -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple -``` - -### 设置 pre-commit 钩子(可选) - -```bash -# 安装 pre-commit -pip install pre-commit -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple - -# 设置钩子 -pre-commit install - -# 手动运行检查 -pre-commit run --all-files -``` - --- ## 验证安装