-
-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
Yogacara Bot edited this page Apr 20, 2026
·
1 revision
- Python: 3.9 或更高版本
- 操作系统: Linux, macOS, Windows
pip install yogacara# 克隆仓库
git clone https://github.com/Greatbeing/Yogacara.git
cd Yogacara
# 安装依赖
pip install -e .git clone https://github.com/Greatbeing/Yogacara.git
cd Yogacara
# 安装开发依赖
pip install -e ".[dev]"
# 运行测试
pytestYogacara依赖以下核心库:
| 依赖 | 版本 | 用途 |
|---|---|---|
pydantic |
≥2.0 | 数据验证与模型 |
typing-extensions |
≥4.0 | 类型扩展 |
import yogacara
print(yogacara.__version__)A: Yogacara使用了pydantic v2,它需要Python 3.9或更高版本。
A: 尝试升级pip:
pip install --upgrade pip
pip install yogacarapip uninstall yogacara