×

Python Anaconda setup

Python programming language is used in this tutorial to get hands-on machine learning. A compatible IDE (Integrated Development Environment) is needed to be installed on the computer system before using Python for machine learning. Now, we will see how to install Python and an IDE with the help of Anaconda distribution.

Anaconda distribution is an open-source platform for the deployment of programming languages like Python and R programming. It is used for applications like machine learning, data science, predictive analysis, etc. The main aim is to build simplified packet management and deployment. It supports many operating systems, such as Windows, Mac OS, and Linux. It comes up with about 1500 popular data-science packages appropriate for Windows, Mac OS, and Linux. It is used by 1500 million users worldwide.

Anaconda distribution offers several IDEs for installing Python, for example, Jupyter Notebook, Spyder, Anaconda prompt, etc. It is very suitable as it contains a package solution, which makes it easier to install Python on your desktop. It automatically installs Python on some of the IDEs as well as libraries like NumPy, Pandas, etc.

The following steps are given below:

1. Downloading Anaconda Python

To download Anaconda, you need to open a browser of your choice and type Anaconda Python in the search engine. Click the very first link you see on the window, or you can directly download it from the link given below: https://www.anaconda.com/distribution/

Python Anaconda Setup

On clicking the first link you will get on to the download page of Anaconda.

Python Anaconda Setup

Anaconda is available for Windows, Mac OS, and Linux. We are here downloading for Windows, and you can download as per your choice. After selecting the OS, you get two Python versions. Select Python 3.7 Version as it is the latest version, and click on Download; it will start the downloading.

Python Anaconda Setup

2.Installation of Anaconda Python Version 3.7

After the downloading is completed, go to the downloads and double-click the Anaconda3-2019.03-Windows-x86_64.exe. A setup window for installing anaconda will be displayed. Click on Next, and it will take you to the Agreement Window.

Python Anaconda Setup

Click on I Agree on the License Agreement Window and proceed further.

Python Anaconda Setup

Select Just Me from the options given below and then click on Next.

Python Anaconda Setup

A window will open, asking for its installation location. You need not do anything if you don't want to; just leave it as default by clicking Next.

Python Anaconda Setup

Select the second option and click on Install.

Python Anaconda Setup

Click on Next, once the installation completes.

Python Anaconda Setup

After the installation is completed, click on Finish.

Python Anaconda Setup

3. Open Anaconda Navigator

After the installation is done, open the Anaconda Navigator to launch Python IDE may be either Spyder or Jupyter. And for that, you need to click on the window key and type Anaconda Navigator in the search bar.

Python Anaconda Setup

After opening the Anaconda Navigator, launch Spyder IDE by clicking the Launch button below the Spyder. The Spyder IDE will get installed.

Python Anaconda Setup

Once the Spyder IDE is launched, the opened window will be looked at as the image given below;

Python Anaconda Setup

First Program in Python

1. Write a program and save it with an extension .py in any folder.

print(“hello world!”)
Python Anaconda Setup
  • Run the program by clicking a triangled shape Run button.
  • The output is displayed on the Console pane at the bottom right side.

Related Topics

Machine Learning Algorithms

Machine learning algorithms are powerful methods and techniques which are high in terms of probability and used to give computers high power to compute the solution for large numbers of...

4 minutes read.

Chi-Square Test in Machine Learning

A statistical technique called the chi-square test is used to compare actual outcomes to predictions. This test aims to determine if a discrepancy between actual and projected data is caused...

6 minutes read.

Overfitting and Underfitting in Machine Learning

We actually talk about prediction errors, which are a measure of a machine learning model's performance and accuracy. Think about the possibility that we are developing a machine learning model....

3 minutes read.

Naïve Bayes Algorithm in Machine Learning

Introduction to Naïve Bayes Algorithm in Machine Learning The Naïve Bayes algorithm is a classification algorithm that is based on the Bayes Theorem, such that it assumes all the predictors are independent of...

7 minutes read.

Top 10 Books on Machine Learning

If you are looking to explore some new domains in engineering field then you may like ML or Machine Learning. The popularity of Machine Learning is increasing gradually day by...

5 minutes read.

KNN algorithm in Machine Learning

Machine Learning is one of the most used modern technologies in our world. Machine Learning helps human a lot to do their jobs at ease. Today almost every big tech...

7 minutes read.

Gradient descent algorithm in machine learning

Machine learning Machine learning algorithms are powerful methods and techniques which are high in terms of probability, and used to give computers high power to compute the solution for large numbers...

4 minutes read.

Top Machine Learning Jobs

Machine Learning is an important part in many industries. Many companies in different sectors use Machine Learning techniques to improve their production rate and quality. In present days, Machine Learning...

4 minutes read.

Machine Learning Tutorial

What is Machine Learning? As all of us are very clear about the learning concept of humans, they learn from their past experiences. But can we expect the same from computers...

8 minutes read.

Best Python Libraries for Machine Learning

Machine Learning is an important technology in modern days. It helps us to do the things which were not possible in previous days. If you have interest in Machine Learning...

8 minutes read.

Some Innovative Project Ideas in Machine Learning

In today's world, we are surrounded by machines and different types of gadgets. Machine Learning is a technique which prepares machines to think and learn. In modern days, Machine Learning...

9 minutes read.

Supervised Machine Learning

What is Supervised Machine Learning? In Supervised learning, the machine is trained with the help of well-labeled training data, i.e., the data is tagged with the truthful answer. In other words,...

8 minutes read.

Machine Learning Techniques

In today's world, we are surrounded by machines and different types of gadgets. Machine learning is a technique which prepares machines to think and learn. In modern days machine learning...

6 minutes read.

K-means clustering Algorithm

Introduction to K-means clustering K-mean clustering comes under the unsupervised based learning, is a process of splitting an unlabeled dataset into the clusters based on some similarity patterns present in the data. Given...

9 minutes read.

Difference between AI/ ML/ Deep Learning

Nowadays, people are very much confused with the terms artificial intelligence, machine learning, and deep learning. For them, it seems to be that all these three concepts are the same,...

11 minutes read.

Understanding different types of Machine Learning

A machine learns from a trained data set to create a model. Whenever there is a new input to the algorithm, it predicts on the basis of the model. The...

10 minutes read.

Student Performance Prediction Using Machine Learning

Machine learning is a powerful tool that can be used to analyze and make predictions about student performance. One of the key advantages of using machine learning for student performance...

11 minutes read.

Epoch in Machine Learning

Machine Learning is one of the most used modern technologies in the world. Machine Learning helps human a lot to do their jobs at ease. Epoch is an important concept...

3 minutes read.

Recommendation System in Machine Learning

In today's world, we are surrounded by machines and different types of gadgets. Machine learning is a technique which prepares machines to think and learn. A recommendation system is an...

2 minutes read.

AWS Machine Learning Certification

In the technical world, you must have heard the name of AWS. Its full form is Amazon Web Services. What is AWS (Amazon Web Services)? You must have heard about cloud technology....

3 minutes read.