18DIP Lab 1
18DIP Lab 1
Objective:
Installation of Anaconda and Running First Program.
Apparatus:
PC/Laptop with Windows 7/8/8.1/10
Anaconda softwareLatest Anaconda 3 Release - Anaconda 3.7
Theory:
In this lab, we will download the Anaconda software and install it on our computer so we
can use it in our future labs. Here are some steps we perform to download and install the
software.
Step 3:
Scroll the Web Page
In the Your Data Toolkit section, Click on Download
Step 4:
After clicking the Download button
Download Anaconda Setup depending upon your operating systems
Control automatically moves to the Anaconda Installers section on the same Web Page
Step 5:
Download the latest version of Anaconda released
In my case it is Latest Anaconda 3 Release - Anaconda 3.7
Step 6:
Click on the file named 64-bit graphical installer for download
Step 7:
The file will start downloading
Step 1:
Open the Folder containing Anaconda Setup for Windows
In this case, it is in Download Folder.
Step 2:
Double Click on the following File in the Folder
File Name: Anaconda3-2020.02
2020.02-Windows-x86_64.exe
Step 3:
Anaconda Installer Wizard will open
Click on Next
Step 4:
The License Agreement will appear
Click on I Agree
Step 5:
By Default, the Just Me (recommended) radio button is checked and use the default
settings for installation
Click on Next.
Step 6:
By Default, the Just Me (recommended) radio button is checked and use the default
settings for installation
Click on Next.
In this step, the Install Location of Anaconda is required, the default location of
Anaconda is: C:/ProgramData
You can change thee Install Location of Anaconda by Clicking on Browse button and
select the Folder where you want to install Anaconda
Click on Next
Step 7:
You have two choices here
Choice 01: If Python is not installed on your Laptop / PC
Select both Options given below:
Add Anaconda to system Path Variable
Register Anaconda as System Path 3.6
Choice 02: If Python is installed on your Laptop / PC
Select the Option given below
below:
Register Anaconda as System Path 3.6
In my case, Python is already installed on my lapto
laptop
We will select the following option
Register Anaconda as System Path 3.6
Click on Install
Step 8:
TheAnacondaSetupwillstartinstalling
Don'tworryitwilltaketimeininstallation
Step 9:
After the completion of installation
Click on Next
Step 10:
In the next step, it will provide the option of installing Visual Studio Code Installation
Click on Skip to skip this Step (see figure below)
Step 11:
Uncheck both the boxes (see figure below)
Click on Finish to close the Anaconda Installer Wizard
III. Verify the Installation of Anaconda:
Step 1:
Click on the Start button in the Task Bar
Step 2:
Search for Anaconda
If you are using Windows 8/8.1 Pro Search button will appear as shown below
Step 3:
Clickon AnacondaPrompt
Step 4:
Search for Anaconda Prompt
If you are using Windows 10
Search button will appear as shown in the Figure below
Step 5:
AnacondaPrompt windowwillappearonyourComputerScreen
Step 6:
CheckingtheAnacondaVersion
Step 6.1:
In Anaconda Prompt window, type either of the two commands
python-v
OR
python
python--version
Step 6.2:
Press Enter Key
This command will display the version of Python installed on your
Laptop/Personal Computer
Step 6.3:
condainfo
InAnacondaPromptwindow,typethefollowing Command.
Step 3:
It willtakeyoutotheDesktop Folder
Step 4:
Click on New to make a Folder inside Desktop to save Jupyter Notebook Projects
From drop down Click on Folder
Step 5:
AnewfoldernamedUntitledFolder willbeadded
Step 5.1:
Check the Check Box
Click on Rename
ADialogBoxwillappearontheComputerScreen
Step 6:
Typethe newnameoftheFolder
Step 7:
ClickonNew
Then fromthe
romthe dropdown,ClickonPython 3
Step 8:
A newFile will Openin anewTab
Step 9:
Click on Untitled
Step 10:
Rename the project
I am naming it as MyFirstProgram
Step 11:
Theprojectwillberenamedandsaved
Step 2:
Click on Run (or Press Shift + Enter from Keyboard) to execute the command print()
statement will be executed and the message will be displayed.
Step 3:
Click on Plus (+) to add a new row in Jupyter Notebook File
Conclusion: