pyprofit is a python wrapper for libprofit. As such, you need to have libprofit installed in your system to install pyprofit. For instruction on how to compile and instal libprofit please read libprofit's documentation.
pyprofit is available in PyPI and thus can be easily installed via:
pip install pyprofit