Amazonlinux2023 install hardended version of pip for python

587 views Asked by At

I want to sue amazonlinux2023 with as few "un-hardened" packages as possible.

AL2023 ships with python but not pip

So what is the correct way to get a "hardened" version of pip corresponding to the python package that's shipped?

Is python3 -m ensurepip sufficient?

thanks

1

There are 1 answers

0
AKX On BEST ANSWER

The Amazon Linux 2023 packages list lists a package called python3-pip.

If you want to stay on the narrow supported path, I'd just go and install that.