Files
ds2api/install-ds.bat
CJackHwang ea4de62fc3 Initial commit
Created from https://vercel.com/new
2026-01-21 15:14:49 +00:00

15 lines
428 B
Batchfile
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@echo off
:: 创建 conda 环境Python 3.11,环境名为 dsapi
echo 正在创建 conda 环境 dsapi...
call conda create -n dsapi python=3.11 -y
:: 激活 conda 环境
echo 正在激活环境 dsapi...
call conda activate dsapi
:: 安装 requirements.txt 中的依赖(使用 pip
echo 正在安装 requirements.txt 中的依赖...
pip install -r requirements.txt
echo 环境 dsapi 已创建并安装好依赖。
pause