before we begin this will install python you can check the version of the python installas beforeto verify that the right version was installedpython --version python should now be available on your system nextwe install build essentials and python pipsudo apt-get install python-pip build-essential nowcheck that pip is workingpip --version you should see version of pip installed on your systemand now you are ready to install the virtualenv packageplease skip past the mac and windows installation instructions mac macos comes with version of python installed by defaultbut we will not be needing this to install python we are going to use homebrewa command-line package manager for macos for this to workwe will need xcodewhich you can get for free from the mac appstore once you have installed xcodeopen the terminal app and install the command-line tools for xcodexcode-select --install simply follow the prompt in the window that pops up to install the command-line tools for xcode once that is doneyou can install homebrewruby - "$(curl -fssl master/install)if you do not have xquartz already installedyour macos might encounter some errors if this happensyou can download the xquartz dmg hereorgthencheck that you have successfully installed homebrew and that it is workingbrew doctor