Data Science and Artificial Intelligence

Getting Started With Python Using Anaconda

Anaconda is a an open source distribution of the Python and R programming languages and it is used in data science, machine learning, deep learning-related applications  aiming at simplifying package management and deployment.Anaconda Distribution is used by over 7 million users, and it includes more than 300 data science packages suitable for Windows, Linux, and MacOS.

In this blog, we will be discussing how to install anaconda and write the first python programme.

Anaconda 5.x Installation Procedure

Let’s get started with Anaconda 5.x installation

Step 1:  Visit Anaconda website to download anaconda for windows. Click on Download

Download Anaconda for windows

 

Step 2: Next, double click on setup and click on next.

 

 

Step 3: Click on “I agree” to Accept the agreement

 

 

Step 4: Click on “Just Me (recommended)” and click on Next.

 

 

Step 5: Retain default location and click next.

 

 

Step 6: Click on “Add anaconda to my Path environment variable”.
NOTE: This step is important because jupyter notebook cannot be accessed without this command prompt.

 

 

Step 7: Click on the Install Button and wait till the installation is complete.

 

 

Step 8: Click on finish.

 

NOTE: Now, the installation of Anaconda process is complete. If you want to access Jupyter notebook, continue the below steps.
Step 9: Open command prompt and type “jupyter notebook”.

 

 

Step 10: Once the command is given, the jupyter notebook will be opened by the browser automatically.

 

 

Step 11: Click on the “New” tab and select “Python 3” to create your first file.

 

 

Step 12: On clicking the python 3 file we get a screen as shown below where we can type the scripts and execute it.

 

import numpy as np
np.random.seed(0) # Seed for Reproducibility
x1 = np.random.randint(10, size=6) # One dimensional Array
x2 = np.random.randint(10, size=(3,4)) # Two dimensional Array
x3 = np.random.randint(10, size=(3,4,5)) # Three dimensional Array
print(x1)
print(x2)
print(x3)

 

We hope this blog helped you installing anaconda and running your first python programme in windows. Keep visiting our websites www.acadgild.com for more posts on Data Science and other technologies.

Ajit Khutal

Ajit Khutal has been working with AcadGild as an Associate Big Data analyst with expertise in Big Data Technologies like Hadoop, Spark, Kafka, Nifi. He has been a Python enthusiast and been associated with the implementation of many Analytics project related to various domains like E-commerce, Banking, and Education.

6 Comments

  1. I have searched so many times to install Anaconda.but all are more complicated as compare to this solution.

    Thanks ajit sir for giving easiest way to install Anaconda.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Related Articles

Close
Close