How to install python3 version of package via pip on Ubuntu?

you may use virtualenv to install python3 then install all of python3’s packages

virtualenv -p /usr/bin/python3 py3env
source py3env/bin/activate
pip install package-name