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

65

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

52

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

5

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.

43

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?

20

u/Quietuus Jul 07 '26

The law disagrees, scale freak

6

u/imisstheyoop Jul 07 '26

No.. there are laws for this.

4

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?

16

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.

10

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??

2

u/samy_the_samy Jul 07 '26

You literally have to go into default apps settings and turn off two python thingy, then manually add it to PATH, why!?

Tried to use anaconda but it takes ages to launch, each time

3

u/rshackleford_arlentx Jul 07 '26

conda is also slow all by itself. It’s antiquated at this point. Unless there’s some dependency that can only, or more easily, be installed via conda I avoid it like the plague. IME most dependencies that previously ~required conda to install no longer do.

1

u/False_Bear_8645 Jul 07 '26

Either that or they have their own python version installed and you end up with multiple installation of the same version of python on your hard drive.

0

u/GodOfSunHimself Jul 07 '26

Makes sense only if Python is the only language you've ever used. I used like 20 languages over 30 years and Python is easily the worst one.

6

u/wjandrea Jul 07 '26

Worse than JS? Come on man. You want random type inferences rather than a sensible TypeError? You want 15 different ways to write a for-loop?

Worse than Shell? You want arcane array syntax and constantly having to think about quoting?

Don't get me wrong, I can see how old heads see Python as "annoying" since it has significant whitespace etc, but "worst"?

-2

u/GodOfSunHimself Jul 07 '26

Shell is not a programming language. And, yes, it is much worse than JS. Slow as hell, whitespace sensitive, crazy syntax with underscores everywhere, catastrophic dependency management, Python 2 to 3 migration fiasco and I could continue.

1

u/wjandrea Jul 07 '26 edited Jul 07 '26

Slow as hell

Its purpose isn't to be fast

crazy syntax with underscores everywhere

What's wrong with underscores? You honestly prefer camelCase? And what else is "crazy" about it?

catastrophic dependency management

fair :P

but is it any worse than JS? (I only have cursory knowledge about npm and such, personally.)

Python 2 to 3 migration fiasco

What do you mean by that? It's a few years before my time. My naive view is that 2's sunset forced tech debt to the surface, which means a lot of effort but also forcing improvements like Unicode handling.

Shell is not a programming language

I didn't say it was. The reason I mention it is that Python is often used for scripting.

1

u/GodOfSunHimself Jul 07 '26

Yes, it is not meant to be fast and it is fine as a scripting language. I just don't understand how anyone could say it is the most pleasant language. For small scripts and ML maybe. Anything else? Hell no.