Skip to content

Global parameter does not work using ensurepath command #1337

@marcosalberto

Description

@marcosalberto

Describe the bug

Follow the pipx install documentation for MacOS causes a "unrecognized arguments" error on ensurepath command.

How to reproduce

➜ ~ sudo pipx ensurepath --global
Password:
usage: pipx [-h] [--quiet] [--verbose] [--global] [--version]
{install,uninject,inject,upgrade,upgrade-all,uninstall,uninstall-all,reinstall,reinstall-all,list,interpreter,run,runpip,ensurepath,environment,completions} ...
pipx: error: unrecognized arguments: --global
➜ ~

Expected behavior

Install pipx globally without errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions