Skip to content

Error message says env command does not exist when misspelling env remove as env remote #10123

@emil-elate

Description

@emil-elate

Description

I misspelled remove and wrote remote instead.
Got a response saying command env does not exist. But it wasn't env that was spelled wrong.

$ poetry env remote --all

The command "env" does not exist.

Did you mean one of these?
    env use
    env info
    env list
    env remove

$ poetry env remove --all
(works)

Workarounds

Spell it right. Figure it out.

Poetry Installation Method

pip

Operating System

Mac OS

Poetry Version

Poetry (version 1.8.3)

Poetry Configuration

not relevant

Python Sysconfig

sysconfig.log
Paste the output of 'python -m sysconfig', over this line.

Example pyproject.toml

Poetry Runtime Logs

poetry-runtime.log
Paste the output of 'poetry -vvv <command>', over this line.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working as expectedstatus/triageThis issue needs to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions