I followed this guide to change my default install directory:
~/.pip/pip.conf:
[global]
target=~/.python-global
So that pip does not interfere with pacman. However, I need to be able to separate python2 and python3. So is there a way to get pip2 to point to ~/.python-global/python2 and pip3 to point to ~/.python-global/python3?