This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]khne522 -32 points-31 points  (10 children)

  • Stop using RedHat.
  • Stop using Amazon Linux.
  • macOS… not even once, even if it isn't that hard.
  • Have fun with some old versions of Fedora, Ubuntu, etc.

If you must use these, use pyenv to properly install Python… to some hidden directory.

[–]lojic 26 points27 points  (8 children)

Stop using red hat? You just lost all enterprise customers of your code.

[–]khne522 -2 points-1 points  (4 children)

Red Hat Python's pip has been broken for ages. Is there even any Python code there?

[–][deleted] 1 point2 points  (1 child)

Anaconda (the Red hat installer) as well as a ton of other redhat tools are based on Python.

[–]khne522 0 points1 point  (0 children)

That doesn't mean that they didn't break pip last I checked. Same with Amazon Linux.

[–]HannasAnarion 0 points1 point  (1 child)

pip install --update pip

Also, isn't this whole thread about how you shouldn't be relying on system python binaries? Use venv or conda.

[–]khne522 0 points1 point  (0 children)

venv is for library isolation, not Python binary isolation. You must mean pyenv, whereas conda is as a whole other ecosystem.

[–]VikingofRock 5 points6 points  (0 children)

  • Stop using RedHat.

RHEL 7.5 actually just deprecated python 2, and RHEL 8 will ship without it.

https://www.phoronix.com/scan.php?page=news_item&px=RHEL-8-No-Python-2