Installation Python
Installation Python
Requirements
2
Option 1
4
Order of Installation
5
Getting Anaconda
Go to https://www.anaconda.com/download/
Select your Operating System
6
Getting Anaconda
Download the Python 3 version
7
Installing Anaconda
The default options should all work
8
Installing Anaconda
Make sure you
install for Just Me
Install for “All
Users” might
cause some
issues later
9
Installing Anaconda
Also make sure
that it installs to
the root of your
home folder
This should be
the default
already selected
10
Installing Anaconda
11
Installing Anaconda
12
Note
13
Option 2
15
Getting PyCharm
Click on Community download button (Free, open
source)
16
Getting PyCharm
Run the downloaded file
17
Getting PyCharm
Click the “Next” button
18
Getting PyCharm
Choose the correct bit launcher and do
create an association with .py
19
Setting up PyCharm
Set UI theme.
Click Skip
Remaining and
Set Defaults
20
Writing a Program
First, Create a New Project
21
Writing a Program
Name the project.
Click on Create.
22
Writing a Program
Close the Tip window
Now Virtual
Environment should
be created
23
Setting Interpreter
Go to the “File ”
menu
Select “Settings”
Click on “Project
Interpreter”
24
Setting Interpreter
25
Setting Interpreter
Selecting the Right
Interpreter
If anaconda
interpreter are
not listed in the
dropdown box,
then click on
“gear” button.
Select “Add”.
26
Setting Interpreter
You should be able to look
at one of the
“Base Interpreter” link under
“Virtualenv”
“Python version” under
“Conda Environment”
“Interpreter” under “System
Interpreter”
“Base Interpreter” under
Pipev Environment
Select the “python.exe” file
Click “OK”
27
Setting Interpreter
Creating new Python file
Go to the “File” menu
Select “New”
Select Python File
Give your new Python file a name.
28
Run Sample
Under the Run menu, you should see a “Run”
button. Click it to run your code.
A window may pop up – select the name of your
Python File.
Then, at the bottom of the IDE you should see
this new window with your result.
29
Option 3
You can also use online Compiler on
you PC as described below
Online Platform
We are going to use http://repl.it an online
platform for multiple languages
Get Started
Login with gmail or facebook or signup with different
account.
Create Repl
• Click new repl and then select Python from drop down.
First Setup