/TianGong-AI-Wiki

TianGong-AI-Wiki

Primary LanguagePythonMIT LicenseMIT

TianGong AI Wiki

https://linancn.github.io/TianGong-AI-Wiki/

Env Preparing

Using VSCode Dev Contariners

Tutorial

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

Env Preparing in MacOS

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

sphinx-autobuild source/ docs/