Python Installation

Linux RHEL Installation

📘

Note:

Linux may have an old version of Python. The following instructions will install Python 3.5.2 as an alternative installation option. Ensure you are using python 3.5.2 when running AWS CLI for Centrify.

Python is invoked with the python3.5/pip3.5 command.

Run the following set of commands to install Python 3.5.2 for Linux.

yum  install  gcc
cd  /opt  3.wget  https://www.python.org/ftp/python/
5.2/Python-3.5.2.tgz
tar  xzf Python-3.5.2.tgz 
cd  Python-3.5.2  
./configure  
make  altinstall  
python3.5  --version  
pip3.5  –version  
pip3.5  install  --upgrade  pip

📘

Note:

  • pip3.5 –version will show version 8.1.1
  • pip3.5 install --upgrade pip will show version 8.1.2

Windows Installation

  1. Download appropriate windows installer
  2. Run the installer.
  3. Run the command pip install --upgrade pip