Skip to content

Add tag to use python -m pip to install packages#2209

Merged
D0rs4n merged 1 commit into
mainfrom
tag-dashmpip
Jul 9, 2022
Merged

Add tag to use python -m pip to install packages#2209
D0rs4n merged 1 commit into
mainfrom
tag-dashmpip

Conversation

@janine9vn
Copy link
Copy Markdown
Contributor

In the wild west of #python-general, we see a lot of issues where folks will use pip to install a package. Unfortunately, the pip they're using to install the package is not in the same version of Python that's used to actually run their code (we're going to specifically not talk about cases where a venv is created automatically for them and they don't realize for this PR and tag). This could be for a variety of reasons and will often lead down a rabbit hole of altering what's on PATH. This can be a lot of work for seemingly little gain for a beginner.

I am firmly in team "run pip as a module so you always know which Python version you're installing to". No need to futz around with PATH or shims or who knows what else, and now there's no ambiguity for which python you're installing packages to. So this tag will help (hopefully) succinctly explain what to do and why.

image

@janine9vn janine9vn added the a: tags Related to bot tags label Jul 8, 2022
@D0rs4n D0rs4n merged commit 6372618 into main Jul 9, 2022
@D0rs4n D0rs4n deleted the tag-dashmpip branch July 9, 2022 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: tags Related to bot tags

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants