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

sudo pipx ensurepath --global fails on Ubuntu 24.04 LTS #1524

Open
acottuli opened this issue Aug 29, 2024 · 4 comments
Open

sudo pipx ensurepath --global fails on Ubuntu 24.04 LTS #1524

acottuli opened this issue Aug 29, 2024 · 4 comments
Labels

Comments

@acottuli
Copy link

acottuli commented Aug 29, 2024

Describe the bug

sudo pipx ensurepath --global fails with the error pipx: error: unrecognized arguments: --global.

This occurs becauses sudo apt install pipx installs pipx version 1.4.3 (as mentioned in #1481), and the --global option was only added in pipx version 1.5.0

How to reproduce

Run the commands given in the README for installing pipx on "Ubuntu 23.04 or above"

sudo apt update
sudo apt install pipx
pipx ensurepath
sudo pipx ensurepath --global # optional to allow pipx actions with --global argument

Output

pipx: error: unrecognized arguments: --global
@chrysle
Copy link
Contributor

chrysle commented Aug 30, 2024

Consider using the zipapp installation method until we've reached a decision.

@chrysle chrysle added the docs label Aug 30, 2024
@afolarin
Copy link

Any update on this?

@TuttoBones
Copy link

LOL... I'm having the same problem... crickets!

@trallnag
Copy link

I switched to 24.10... But this is probably not a viable solution for many people

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

No branches or pull requests

5 participants