-
Notifications
You must be signed in to change notification settings - Fork 55
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
pipx --global Installation Issue #260
Comments
A tip would be perfect here. As long as we are providing out own tip, we should probably not promote this global option at all brew install pipx
pipx ensurepath will be enough for our users to get going. |
an update on this issue! a version of this issue was submitted by multiple people on different operating systems - phew! each having slightly different problems but related!
i think there was another issue but i can't seem to find it now. The solution here should be that we DON"T use pipx and instead run hatch installer which should install on windows, mac and linux with no additional tools! i am going to create a new issue for this specific update and then link to all of the other issues including this one! this should be an easier way to get going with hatch. i had no idea that pipx would cause so many issues! thank you for this issue!! |
y'all - i've just opened this pr which updates the installation instructions - if you are involved in multiple issues you'll see this same comment on all of them (i'm housekeeping) A few things we learned chatting in #301
Reviews are welcome on my open PR!! we are teaching a workshop the week after next so i'll leave this open for a week with the plan to merge next tuesday July 2! this issue can then be closed! 🚀 |
I am going to close this issue given we've moved to the hatch installers! if anyone thinks this should be reopened, please feel free to comment! thank you everyone for the thought put into the install process for Hatch! |
Describe the bug
When trying to install pipx for macOS as a --global option, pipx's documentation is incorrect so we should add the note to the "tip" section.
If installing on MacOS:
brew install pipx
pipx ensurepath
sudo pipx --global ensurepath # optional to allow pipx actions with --global argument
Link: https://www.pyopensci.org/python-package-guide/tutorials/get-to-know-hatch.html#install-hatch
How to reproduce
$ sudo pipx ensurepath --global
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
We switched ensurepath and --global so that --global comes first and now it's good to go!
The text was updated successfully, but these errors were encountered: