How to install Nixstats with Python 2.7 on CentOs 6.x

yum install -y zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel

cd /usr/src
wget https://il0.ca/downloads/Python-2.7.11.tar.xz
tar xvfJ Python-2.7.11.tar.xz
cd Python-2.7.11

./configure --prefix=/usr/local LDFLAGS="-Wl,-rpath /usr/local/lib"

make -j number_of_proc_available
make altinstall
make clean

python2.7 get-pip.py
pip install requests

wget --no-check-certificate -N https://api.nixstats.com/install_python.sh && bash install_python.sh 552961424303edc7238b4567

This should do it!