r/programminghorror • • Jan 12 '22

Python environment

https://imgs.xkcd.com/comics/python_environment.png

[removed] — view removed post

1.4k Upvotes

101 comments sorted by

View all comments

10

u/B_M_Wilson Jan 12 '22

macOS is one of the worst for this. macOS comes with Python but it’s an old version so when you install something with homebrew, it will install a newer version. But you can’t always get the very latest version with homebrew and definitely not the beta versions so you might want to install that version from python’s website. Since that’s not from a package manager, you can’t just upgrade and end up collecting many versions because you forget to delete the old ones. Then there’s the issue with anaconda and similar systems that do their own thing.

3

u/Cerus_Freedom Jan 12 '22

MacOS and many Linux distros package management is dependent on Python 2.7 scripts. Long story short, many of them don't want to upgrade because of the breaking effects of 3.x, and the large scale impact that would have. I'm just waiting for a severe exploit to be found to finally force some change.

2

u/[deleted] Jan 12 '22 edited Feb 23 '24

paltry fragile attractive spoon shelter vast fretful hungry combative selective

This post was mass deleted and anonymized with Redact

4

u/Cerus_Freedom Jan 12 '22

Same reason you use python for anything: it's easy to build and maintain.

1

u/Miku_MichDem Jan 13 '22

Easy to build and maintain you say? Tell me, how is the upgrade from 2.7 to 3.x going?

I'm sorry, but 2.7 was deprecated a long time ago and even more time has passed since EOL announcement and becoming outdated and seeing how wide spread the thing still is tells you a lot.