title: How to install python packages for python3 in CentOS7
body: <p>I have CentOS7 installed.  So python2.7 is natively installed under /usr/lib.  </p>
  
  <p>I want to switch to use python3 as my primary installation.  So I downloaded python3.5x from the official site, and after installation its located under /usr/local/lib/.  Even though I want to use python 3.x as my primary installation, I still must launch python with 'python3'.  'python' still launches python 2.7.  Note: I perform install using 'make install', as opposed to 'make altinstall', as per README instructions.  </p>
  
  <p>If I use pip to install packages, they only get installed for python2.7.  I've come across other posts, which suggest installing/using pip3.  But I've been unable to figure out to get pip3 installed.</p>
  
  <p>Here's the version of pip that I currently have installed:</p>
  
  <pre><code># pip --version
  pip 8.1.2 from /usr/lib/python2.7/site-packages/pip-8.1.2-py2.7.egg (python 2.7)
  </code></pre>
  
  <p><strong>UPDATE:</strong><br>
  It was indicated this question was a dup of this one:
  <a href="https://stackoverflow.com/questions/6587507/how-to-install-pip-with-python-3">How to install pip with Python 3?</a></p>
  
  <p>My question is NOT how to install pip.  But rather how to get pip working with 2 installations of python (2.7 and 3.x).  It seems pip works for installing packages for python2.7 (the native python installation in CentOS7), but I cannot seem to get it to install packages for python3.</p>