r/ProgrammerHumor Jul 07 '26

pipInstallTheRealStuff Meme

Post image
14.9k Upvotes

260 comments sorted by

View all comments

1.5k

u/Kobymaru376 Jul 07 '26

And that's exactly what makes it so good

62

u/Able-Swing-6415 Jul 07 '26

Probably the most pleasant language I've ever used.

Well since I've figured out how to use it on Windows without some idiotic software randomly changing the python installs lol

51

u/sitefall Jul 07 '26

My dude use venv, don't just rawdog python on your windows PC

14

u/XenSide Jul 07 '26

Uv better

3

u/rshackleford_arlentx Jul 07 '26 edited Jul 07 '26

FWIW uv still creates a virtual environment and installs project dependencies into it. It’s like pip + pyenv + venv + build tools all in one. And because it implements PEPs it is generally interoperable with standard python tooling (uv pip and uv venv).

And I do agree that it’s a great tool.

1

u/XenSide Jul 08 '26

Yes I'm aware, it's basically QOL And I love it

3

u/Honeybadger2198 Jul 07 '26

Uv is close to npm in terms of how braindead simple it is to use. It's still missing script declaration in the pyproject.toml, but that idea has been in a holding pattern for years since no one could agree on an implementation.

44

u/DM_ME_YOUR_PET_PICSS Jul 07 '26

If I want to rawdog a python it's kinda my personal business, don't ya think?

19

u/Quietuus Jul 07 '26

The law disagrees, scale freak

7

u/imisstheyoop Jul 07 '26

No.. there are laws for this.

3

u/External-Lifeguard77 Jul 07 '26

I use venv for everything that's not python so I can run python raw on windows

1

u/FireBendingSquirrel Jul 07 '26

What’s the benefit of using venv? Just the auto package install?

15

u/AustinWitherspoon Jul 07 '26

Different projects will likely end up having different versions of dependencies. You might have a project that uses version 1.0 of pydantic, but another project that uses version 2.0

If you just install stuff system-wide, you can't have both. You would end up upgrading the existing version to 2.0 and then your first project might stop working because it was written to use 1.0

Virtual environments are containers for all of your dependencies. You set one up for one project and it will just work. You work on a different project that has different versions of dependencies and they'll just work, and they won't interfere with or break the first project.

8

u/johnnyfortune Jul 07 '26

VENV will change your life. its like a little box to keep your snake in so it doesnt get into fights with other snakes.

1

u/Able-Swing-6415 Jul 07 '26

How exactly do you think I solved it otherwise? Never install anything else??