Getting Started With Data Science (Part II) : Installing Tools Required For Data Science

data scienceprogramming

First of all we need to install the right tools to get started with our journey of Data Science. We’ll go through the installation process and explain what the software is all about. 

We’ll be using Anaconda software. All you have to do is to go to www.anaconda.com and go to the download section over there. Or you can go to www.anaconda.com/download/ and select on which machine you’ll be downloading the particular software. 

System Requirements

  • 32- or 64-bit computer.
  • For Miniconda—400 MB disk space.
  • For Anaconda—Minimum 3 GB disk space to download and install.
  • Windows, macOS or Linux.
  • Python 2.7, 3.4, 3.5 or 3.6.
Installing Python And Spyder On A Windows Machine

Since I’m using windows machine I’ll select windows option, and then select Python 3.6 version instead of Python 2.7 since it’s an upgraded version of the same using 32 bit or 64 bit depending upon your PC configuration. I'll be using 64 bit for these tutorials. 

Once we have downloaded the tool, we need to install it on our system. Just follow the path by pressing next, select the location you want to install and rest the software does it for you. 

Once it has successfully installed launch anaconda navigator on the start menu. 

Now select Spyder IDE, because that’s what we’ll be using to write our code for data science. 

Installing Python And Spyder On A Linux Machine

For this we will be taking advantage of the powerful terminal of Linux. The steps are given as follow:
  • Download the script for anaconda here
  • To run the script open terminal. First give permission to your script using command chmod +x /path/to/yourscript.sh. Next to execute the script simple enter the path to your script i.e /path/to/yourscript.sh and press enter.
  • The script will start executing and will ask for license agreement. Once the installation is finished, it will ask you Do you wish the installer to prepend the Anaconda3 install location to PATH in your /home/navneet/.bashrc ? [yes|no].Press yes and it will create your environment variable. Incase you typed no, you have to manually create the environment variable. It will give a path, simple enter path on terminal and press enter, you environment variable will be created.
  • Once the environment variable is created, you can now use conda and install various modules like spyder, numpy, pandas and many more.
  • To check if conda is installed properly enter command conda --version. It will return the version number of conda if installation is successful.

If you followed the above steps carefully, you would have successfully installed anaconda,python,spyder on you system.

We're done! All set for writing code on our freshly installed Spyder IDE. Within the next tutorial we'll write our first code in python on Spyder IDE, along with that we'll understand what all we can do with our IDE.

FAQ

What is Anaconda? Why do we need it? 

Anaconda contains collection of different IDE to ease out your development and study on data science. It installs python for you and is very convenient to use. It also preinstalls various tools like numpy, pandas and many more that you’ll be using in further post. The IDE which we will be using is SPYDER IDE.