Blog by Frank

Environment Problems

Python

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

pip source

pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

Node.js

# nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
nvm install --lts
nvm use --lts
# npm
npm config set registry https://registry.npm.taobao.org
npm install