NOTE : Recently Homebrew made some changes in Python formula. Python version (2.6 or 2.7, 3.5 or 3.6) installed on your machine is required to determine path of Python’s site-packages.
Which python3 # it should output /usr/local/bin/python3 Which python2 # it should output /usr/local/bin/python2 # Check whether Python using homebrew install correctly # Upgrade the python using new homebrew formulae. # NOTE : If you have python already installed using homebrew, # else skip the 3 lines below and upgrade. # If installing python for the first time using Homebrew,