ai101 / init_venv.sh
昭鱼
init
5fd8a77
raw
history blame contribute delete
292 Bytes
#!/bin/bash
echo "----------------------------------------"
echo " Init environments ... "
echo "----------------------------------------"
if [ ! -d '.venv' ]; then
mkdir .venv
fi
python3 -m venv .venv
source ./.venv/bin/activate
python3 -m pip install --requirement requirements.txt