Are you running all those commands as root including the pip command ? BTW when I needed to install PIP to use a Python debugger I didn’t install it via APT package, I just did:
wget https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py
See the following page: