Skip to content

Shell command, Poetry >= 2.0.0 #137

@jsmaxi

Description

@jsmaxi

Install Poetry version >= 2.0.0

Run:

poetry shell

Get Warning:

Looks like you're trying to use a Poetry command that is not available.
Since Poetry (2.0.0), the shell command is not installed by default. You can use,

Resolve:

poetry self add poetry-plugin-shell
poetry shell
poetry run python main.py
exit

https://github.com/python-poetry/poetry-plugin-shell

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions