poetry install
Install all dependencies for a Python project as defined in the
pyproject.tomlfile. More information: https://python-poetry.org/docs/cli/#install.
- Install dependencies:
poetry install
- Skip installing the project itself as a dependency:
poetry install --no-root
- Install only production dependencies:
poetry install --without dev
- Install optional dependency groups:
poetry install --with test,docs
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
