Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
3 views

Python & Anaconda Installation

Python installation

Uploaded by

ek.khan7788
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Python & Anaconda Installation

Python installation

Uploaded by

ek.khan7788
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Windows Python Environment Install and Setup

If you already have python installed on your computer, I recommend getting the latest. Some
programs that will work on old versions of python will not work on the new versions. The
web grader uses the newest version so to avoid issues, the latest version is recommended.

Step 1: Download and Install Python


1. Download the latest python version from here: https://www.python.org/downloads/
(Note: At the time this tutorial was made, the latest was 3.13.0. You can download the
latest version or use any version that works for you.)

2. Install for all users and add to path - Make sure both boxes are checked.

3. Install - Click “Install Now”


After clicking on 'Install now', it will ask for your permission, and you need to click 'Yes'. Once you click
'Yes', the installation will start like this.
4. Disable path length - Make sure you disable the path length limit. If python was
installed in a directory with a path length greater than 260 characters, adding it to the
path could fail.

5. Close the window.

Anaconda and PyCharm are both powerful tools for working with Python. Anaconda is a
distribution that comes with a wide range of pre-installed libraries and tools, including the Jupyter
Notebook, which is great for data science and machine learning tasks. PyCharm, on the other hand,
is a dedicated Integrated Development Environment (IDE) designed for Python development,
offering advanced features like code navigation, debugging, and refactoring. Both editors allow
users to write, run, and manage Python code, but PyCharm is more focused on software
development, while Anaconda is commonly used in scientific computing and data analysis.

Installing Anaconda Navigator


1. Step 1: Download the Anaconda installer from the link provided below:
https://www.anaconda.com/download

After clicking on the 'Skip Registration' button, you will go on this page.
Then Click “Download”

2. Click on the downloaded file and press “Next” button:


3. Read the licensing terms and click “I Agree”

4. Select the installation option “Just Me” unless you’re installing for all users (which requires
Windows Administrator privileges) and click Next
5. Select a destination folder to install Anaconda and click the Next button. Install Anaconda to
a directory path that does not contain spaces or Unicode characters.

6. Choose whether to add Anaconda to your PATH environment variable. Choose whether to
register Anaconda as your default python.
7. Click the Install button. If you want to watch the packages Anaconda is installing , click
Show Details

8. Click the Next button


9. To install Anaconda without PyCharm, click the next button

10. After a successful installation you will see the “Thanks for installing Anaconda” dialog box. If
you wish to read about more about Anaconda.org and how to get started with Anaconda, check
the boxes “Anaconda individuals Edition Tutorial” and “Learn more about Anaconda”. Click the
finish button.

Create a Jupyter Notebook File (.ipynb)


The Jupyter Notebook is an open‐source web application that allows you to create and share documents
that contain live code, equations, visualizations and narrative text. It includes: data cleaning and
transformation, numerical simulation, statistical modeling, data visualization, machine learning, and
much more.
Jupyter Notebook is included in the Anaconda.

Basic Operation on Jupyter Notebook


1. After installing the Anaconda, open Anaconda‐Navigator as below, and you can find the Jupyter
Notebook on the Anaconda. Then click Launch.

2. Jupyter Notebook is presented as a website. Select the path, then under the button “New”, choose
“Python 3” to open a new python file.

You might also like