I was able to get pip working by doing the following.
sudo -i
apt-get purge -y python3-pip
wget https://bootstrap.pypa.io/get-pip.py
python3 ./get-pip.py
apt-get install python3-pip
after doing that I was able to run the mailinabox installation with no issues.