Hey, I had this exact problem! Here’s what worked for me (Ubuntu 22.04 too):
```
sudo apt update
sudo apt install python3-pip
```
Then verify with `pip3 --version`.
If you’re getting weird errors, maybe your sources.list is borked. Try `sudo apt-get clean` and retry.
Also, +1 to using `apt` over `ensurepip`—it’s just cleaner.
```
sudo apt update
sudo apt install python3-pip
```
Then verify with `pip3 --version`.
If you’re getting weird errors, maybe your sources.list is borked. Try `sudo apt-get clean` and retry.
Also, +1 to using `apt` over `ensurepip`—it’s just cleaner.
