File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
env_service/environments/appworld Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,11 +37,11 @@ conda run -n appworld pip install -r "$SCRIPT_DIR/requirements.txt"
3737
3838# 5. 初始化 appworld
3939echo " 📁 初始化 appworld..."
40- conda run -n appworld appworld install
40+ conda run -n appworld python -c $' from appworld. install import install_package \n install_package() \n '
4141
4242# 6. 下载数据
4343echo " 📦 下载数据(失败则使用备用下载)..."
44- if ! conda run -n appworld appworld download data ; then
44+ if ! conda run -n appworld python -c $' import os \n from appworld import update_root \n from appworld. download import download_data \n root = os.environ.get("APPWORLD_ROOT") or "." \n update_root(root) \n download_data() \n ' ; then
4545 echo " ⚠️ 自动下载失败,尝试从备用地址获取数据..."
4646 wget -O " $APPWORLD_ROOT /appworld_data.zip" " https://dail-wlcb.oss-accelerate.aliyuncs.com/eric.czq/appworld_data.zip"
4747 mkdir -p /tmp/unziptemp
You can’t perform that action at this time.
0 commit comments