https://linancn.github.io/TianGong-AI-Wiki/
Python 3 -> Additional Options -> 3.11-bullseye -> ZSH Plugins (Last One) -> Trust @devcontainers-contrib -> Keep Defaults
Setup venv
:
python3.11 -m venv .venv
source .venv/bin/activate
Install requirements:
pip install --upgrade pip
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install -r requirements.txt --upgrade
Install Python 3.11
brew update
brew install python@3.11
Setup venv
:
python3.11 -m venv .venv
source .venv/bin/activate
Install requirements:
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install -r requirements.txt --upgrade
sphinx-autobuild source/ docs/