docs: fix mctilelang-install.md

This commit is contained in:
topshare 2026-02-14 08:56:45 +08:00 committed by wawahejun
parent 6194305906
commit aab3f7ff94
1 changed files with 5 additions and 3 deletions

View File

@ -59,8 +59,8 @@ cd mcTileLang
git submodule update --init --recursive
```
> 因为众所周知的原因访问github会比较缓慢大家如失败可以多尝试几次实在不行可参考如下方式配置一下 `.gitmodules` 从mirror仓库下载submodule。
> cat .gitmodules
> 因为众所周知的原因访问github会比较缓慢大家如失败可以多尝试几次实在不行可参考如下方式配置一下 `.gitmodules` gitee的mirror仓库下载所需的submodule。
```
[submodule "3rdparty/cutlass"]
path = 3rdparty/cutlass
@ -119,9 +119,11 @@ export PYTHONPATH=/path/to/mcTileLang
`/path/to/mcTileLang` 替换为实际的 mcTileLang 路径,例如:
```bash
export PYTHONPATH=/root/mcTileLang
export PYTHONPATH=/root/mcTileLang:.
```
> **注意**:有时候可能需要在路径后加上 `:.` 来确保当前目录也在 Python 的搜索路径中。
### 3.2 验证导入
```bash