使用说明
ai环境
SupportVectors AI培训实验室Python AI环境的配置器
-
git clone将仓库保存到您选择的文件夹中 -
对于要创建的新uv项目,请执行以下步骤:
uv init <my_project> --python=3.12 cd <my_project> cp <my_path>/ai_environment/ensure_config.sh ./ cp <my_path>/ai_environment/docs.tgz ./ chmod +x ./ensure_config.sh ./ensure_config.sh ## Enter the appropriate path, project, description, url when prompted during the run of ensure_config.sh -
您的项目设置
<my_project>现在已完成。 -
请注意,只有当您使用SupportVectors推荐的最佳实践创建一个全新的基于UV的python项目时,才需要这些步骤。如果您正在下载SupportVectors团队上传的现有代码仓库,您只需下载代码仓库,并按照仓库中项目指南中给出的步骤进行操作。