Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOC] Installation instructions mal formatted #1412

Closed
MokhFn opened this issue May 15, 2024 · 3 comments
Closed

[DOC] Installation instructions mal formatted #1412

MokhFn opened this issue May 15, 2024 · 3 comments

Comments

@MokhFn
Copy link

MokhFn commented May 15, 2024

Describe the bug

The installation doc hints at this instruction : sudo pipx ensurepath --global # optional to allow pipx actions with --global argument while it should be sudo pipx --global ensurepath # optional to allow pipx actions with --global argument

Otherwise we get the following error :

image

The instruction should be [sudo] pipx [options] [commands] instead of [sudo] pipx [commands] [options]

While it makes more sense to use the latter, the current software allows only the former.

How to reproduce
Launch the instruction from the doc : sudo pipx ensurepath --global # optional to allow pipx actions with --global argument

Expected behavior
No errors

@dukecat0
Copy link
Member

@MokhFn I have provided a fix for this in #1397 and you should be able to run sudo pipx ensurepath --global in the next release, but please run sudo pipx --global ensurepath for now.

@MokhFn
Copy link
Author

MokhFn commented May 15, 2024

Nice, thanks @dukecat0 ! i was already starting a PR for the fix. Saved me some time ;)

@b4shful
Copy link

b4shful commented May 22, 2024

When I tried to run sudo pipx --global ensurepath I get the following:
image

I'm on Arch Linux.

I just ignored it, but it could be confusing to people following the install instructions. Should it be ignored? Or --forced?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants