How to Install Python 3 and pip 3 for CentOS 6

CentOS 6 doesn’t have native support for Python 3 and corresponding module management tool ‘pip’.  I prefer pip for managing my Python modules.  On CentOS 7 there is a specific yum package for pip(Python 2.7) and pip3(Python 3.4) respectively. However on COS 6 we must install the ‘epel repository’ to get Python 3.4 and there is no specific package for installing ‘pip 3’.  This tutorial is a friendly reminder for myself and others on how to install Python3 & pip3 for CentOS 6.x.

Goals of this post:

  • Install Python 3.4
  • Install pip3
  • Upgrade pip3


Written by mattb in: Linux,Python,Scripts | Tags: , , , , ,