Data Science requires a few tools to help us discover interesting features in our data. We will primarily use two tools and several libraries within each of these tools. The two tools are:
All of these tools are free (and open-source), so it just takes a few minutes for you to install them to get started!
You will need Python 3.6 (or later). We will first check if you have Python already (if you have done Data Science) and install it if you don’t already have it.
Open up your command prompt
Type python --version
and press Enter.
If you see Python 3.7.1
(or similar), you are all set – no need to install Python. (Skip to the git section.)
If you see 'python' is not recognized as an internal or external command, operable program or batch file.
, install it now:
Visit https://conda.io/miniconda.html to get Miniconda, a light-weight version of the python programming language
Download the latest Mac OS X, 64-bit bash installer for the latest version of Python (eg: 3.7).
Open up your command prompt and run the script you downloaded by running the following:
cd Downloads
bash Miniconda3-latest-MacOSX-x86_64.sh
You will need to press q
to exit the license screen and all default options are fine.
Any modern version of git works. We will first check if you have git and install it if you don’t already have it.
Open up your command prompt
Type git --version
and press Enter.
If you see git version ...
(or similar), you are all set – no need to install git! (You’re done!)
If OS X gives a popup about installing git, click “Install” (or similar option) to Install git directly from Apple
Only if typing git
provides no version and no popup, you can install git by downloading it from the Internet:
Visit https://git-scm.com/downloads to get git, a distributed version control system/repository tool
Download and install the latest Mac OS X installer. You may need to Ctrl+Click to install it.
After the install finishes, verify it installed by following the steps above.
Modified from Wade Fagen-Ulmschneider & Karle Flanagan’s STAT 107 - Fall 2019/Spring 2020 guides with permission.