Poetry helps you declare, manage and install dependencies of Python projects, ensuring you have the right stack everywhere.
Poetry replaces setup.py
, requirements.txt
, setup.cfg
, MANIFEST.in
and Pipfile
with a simple pyproject.toml
based project format.
Poetry supports multiple installation methods, including a simple script found at [install.python-poetry.org]. For full installation instructions, including advanced usage of the script, alternate install methods, and CI best practices, see the full [installation documentation].
[Documentation] for the current version of Poetry (as well as the development branch and recently out of support versions) is available from the [official website].
Install all necessary dependencies
poetry install
Open development server
poetry run python main.py
poetry env info --path
Then click cmd/ctrl + shift + p
, type Python: Select Interpreter
, and paste the output of the previous command