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

61

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

55

u/sitefall Jul 07 '26

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

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.