Sometimes, you need to install poetry groups (for docs, test, or dev) but you want to use pip.
Here's how to do it.
First, install the poetry-plugin (see original link):
$ $POETRY_HOME/bin/pip install --user poetry-pluginThen, for a group [tool.poetry.group.docs.dependencies], run
$ poetry export -f requirements.txt --without-hashes --only docs -o only-docs.txt
$ pip install -r only-docs.txt