title: Install mulitple versions of Python 3 on MacOS
body: <p>I want to have multiple versions of Python 3 on MacOS. For example I need Python3.6 and Python3.7. When using Linux I would simply create an alt install by building Python from source, as follows:</p>
  
  <ol>
  <li>Download the source tarball for a specific Python version and extract</li>
  <li>./configure</li>
  <li>sudo make</li>
  <li>sudo make altinstall</li>
  </ol>
  
  <p>I will then have a new version of Python installed in <code>usr/local/lib/pythonx.x</code>.</p>
  
  <p>That works perfectly on Linux. How would I go about having access to multiple versions of Python 3 on MacOS?</p>
  
  <p>EDIT:
  Just to clarify my use case a bit more. I use multiple versions on Python installed on the OS so that I can then use <a href="https://pipenv.readthedocs.io/en/latest/" rel="nofollow noreferrer">Pipenv</a> for different projects specifying different Python versions.</p>