Python Setup
IWDW servers have a Python environment configured at /etc/3SDWPython/
Build From Source
sudo yum -y install openssl zlib openssl-devel zlib-devel mkdir pysource cd pysource sudo yum install wget -y wget https://www.python.org/ftp/python/2.7.13/Python-2.7.13rc1.tgz tar -xzf Python-2.7.13rc1.tgz cd Python-2.7.13rc1 sudo mkdir /var/3SDWPython sudo chown root:3sdw /var/3SDWPython sudo chmod -R ug+rwx /var/3SDWPython/ sudo yum groupinstall "Development Tools" ./configure --prefix=/var/3SDWPython --with-zlib-dir=/usr/local/lib make make install
Install pip
wget https://bootstrap.pypa.io/get-pip.py /var/3SDWPython/bin/python2.7 get-pip.py