Files
agentUniverse/docs/guidebook/zh/开始使用/0.安装及创建标准工程.md
jihan.hanji 4f94c4c198 Merge branch 'master' into dev
# Conflicts:
#	examples/sample_standard_app/intelligence/agentic/agent/agent_instance/demo_agent.yaml
#	examples/sample_standard_app/intelligence/test/test_demo_agent.py
2025-02-24 19:39:43 +08:00

1.2 KiB
Raw Permalink Blame History

安装

python版本要求

  • python 3.10+

我们推荐您使用python 3.10+版本以便获得最佳性能和功能。目前整个项目已经在python 3.10.0版本上通过了所有测试。若您使用的是低于3.10的python版本我们无法保证项目能够完全正常运行。

安装方式

推荐通过pip安装或通过poetry等包版本管理工具安装

通过pip安装

pip install agentUniverse

更多版本信息请查看PyPi agentUniverse

通过poetry等包版本管理工具安装

在实际项目中我们推荐您使用poetry等来管理项目依赖。您可以通过以下命令安装

poetry add agentUniverse

或者在您的pyproject.toml文件中添加如下内容:

[tool.poetry.dependencies]
agentUniverse = "^0.0.14"

一个标准工程的pyproject.toml可参考这里

使用poetry update命令更新依赖

poetry update

验证安装

pip list | grep agentUniverse

若您看到了agentUniverse及其版本号,则说明安装成功。

image