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/KagakuNinja Jan 12 '22

No one should rely on having a language interpreter published to a location like /usr/bin. It doesn't matter which version they install, something is going to depend on a different version. In Java, I have never had any problems with JRE / JDK versions, or the location of library dependencies.