#!/bin/bash if ! (cd "$(dirname "$0")" && cd ..); then echo 进入项目根目录失败 exit 1 fi python3 -m venv ./venv source ./venv/bin/activate pip install -r requirements.txt