poetry-env
Manage virtual environments associated with a Poetry project. See also:
asdf. More information: https://python-poetry.org/docs/cli/#env.
- Print the command to activate a virtual environment:
poetry env activate
- Display information about the current environment:
poetry env info
- Display the path of the current environment:
poetry env info
- Display the path of the current environment's Python executable:
poetry env info
- List all virtual environments associated with the current project (optionally showing the full path):
poetry env list --full-path
- Remove specific or all virtual environments associated with the current project:
poetry env remove python | poetry env remove --all
- Activate or create a virtual environment for the project using the specified Python executable:
poetry env use python
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
