To install pip and venv on Ubuntu 26.04, use the distro packages, then create a virtual environment (install Python 3 first). Do not pip install into system Python.
Step 1 : Update.

Step 2 : Install pip and venv.


Step 3 : Check pip.

Step 4 : Create a virtual environment.

Step 5 : Activate it.

Step 6 : Check Python and pip inside the environment.

Step 7 : Leave the environment.

You have installed pip and venv on Ubuntu 26.04.