How to use poetry under the conda environment
1. install conda
brew install miniforge
#conda create --name auto_everything python=3.8
#conda env remove -n auto_everything
2. install poetry
conda install -c conda-forge poetry
3. use poetry
poetry new poetry-demo
#poetry init
poetry add fastapi
#poetry remove flask
poetry install
4. when you hit system-level dependencies error
use conda to install libraries
5. save/restore conda packages
conda env export --from-history > environment.yml
and
conda env update --prefix ./env --file environment.yml --prune
author
yingshaoxo