Project02/AIGC/SetupCommand.bat

13 lines
360 B
Batchfile
Raw Normal View History

2025-06-05 19:55:37 +08:00
@echo off
REM 1. 创建虚拟环境名称为AIGC
python -m venv AIGC
REM 2. 激活虚拟环境(路径需与创建的名称一致)
call AIGC\Scripts\activate.bat
REM 3. 安装依赖需确保requirements.txt在相同目录
pip install -r requirements.txt
REM 4. 暂停并显示完成提示
echo 环境配置完成!按任意键退出...
pause