PYTHONUSERBASE=/home/bg/install pip3 install --target=/home/bg/install -r requirements.txt PYTHONUSERBASE=/usr/local/lib/python3.6/dist-packages/ sudo -H pip3 install --target=/usr/local/lib/python3.6/dist-packages/ -r requirements.txt sudo -H pip3 install -r requirements.txt
sudo -H pip3 download --no-deps onnx==1.8.1 sudo -H pip3 wheel --no-deps onnx-1.8.1.tar.gz
sudo -H pip3 install debugpy
set -a source /etc/facechain/.pipeline-v2.env set +a python3 -m debugpy --listen 0.0.0.0:5678 -m src.run
https://www.ardanlabs.com/blog/2020/08/packaging-python-code.html