LinuxCommandLibrary

poetry-python

Manage Python interpreter selection

TLDR

List available Python versions

$ poetry python list
copy
Get Python installation info
$ poetry python info
copy

SYNOPSIS

poetry python command [options]

DESCRIPTION

poetry python provides information about Python interpreters available on the system. The list subcommand shows all discovered Python versions, and info displays details about the currently active Python interpreter.
This helps identify which Python versions are available for use with poetry env use when creating virtual environments for a project.

PARAMETERS

list

List Python versions.
info
Show Python info.

CAVEATS

Requires Python 3.8+. Part of environment management.

HISTORY

poetry python provides Python interpreter management capabilities.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community