Install git.
You have it installed if you can run git --version
at the command
line and get output like git version 2.13.5
.
Macbooks have git pre-installed.
Install Anaconda.
Please install the 3.6 version if possible.
There are two things you can verify to check your install.
First, from the command line, all of the following should start up some kind of Python interpreter:
python3
ipython3
jupyter notebook
spyder
Second, inside any of those Python interpreters, you should be able to do all of these without error:
import numpy
import scipy
import matplotlib
import pandas
import statsmodels
import sklearn
Install Homebrew on Mac (optional)
For users who are already familiar with package managers, you may prefer to install Homebrew.
However, this is completely optional as Anaconda is an all-in-one package manager.
Course material for the bootcamp is compatible with Python versions 2.7 and 3.0. All HackerRank Python pre-work is configured for Python 3 only. Therefore, Python 3 is the recommended version.
Did you install Python 2 or 3? Why?
Python 3 because the HackerRank Python pre-work is configured for Python 3 only.
In the Terminal:
python3 --version
Python 3.6.5 :: Anaconda, Inc.