Skip to content

Include pip in path #121

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

Open
KevinBrogan opened this issue May 27, 2025 · 1 comment
Open

Include pip in path #121

KevinBrogan opened this issue May 27, 2025 · 1 comment
Labels
wontfix This will not be worked on

Comments

@KevinBrogan
Copy link

Currently after installation, the pip command is not available on the command line.

Having the option while installing to include the scripts directory as part of the path, or some other method which includes pip, would be useful to avoid having to to it manually.

@KevinBrogan KevinBrogan added the enhancement New feature or request label May 27, 2025
@zooba
Copy link
Member

zooba commented May 27, 2025

Unfortunately, there is no "scripts" directory here. There's a global commands directory that Python runtimes are added to, but pip/etc. don't use (and it probably shouldn't, since it'd just make a mess), and no PATH modifications per-install (or we get back into the unreliable mess that the install manager gets us away from).

Use py -m pip to launch pip. It also works for most other commands, and if it doesn't, report to the tool and they should be able to enable it easily. Or create a virtual environment and activate it, then you'll get its Scripts directory on PATH for your session, which is infinitely more robust than modifying settings permanently.


That said, this is sure to be a popular request, so I'm going to pin this issue so people can see the explanation. And if someone comes up with a brilliant idea on how to make it work, we're open to it, but automatically modifying PATH isn't it.

@zooba zooba added wontfix This will not be worked on and removed enhancement New feature or request labels May 27, 2025
@zooba zooba pinned this issue May 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants