0% found this document useful (0 votes)
24 views

PythonInstallation WINDOWS

This document provides instructions for installing Python and PyCharm on Windows. [1] It recommends downloading the latest version of Python from the Python website. [2] Detailed steps are provided for installing Python and selecting options like adding Python to the system PATH and disabling path length limits. [3] Instructions then guide the user on downloading and installing PyCharm Community Edition from JetBrains, and completing the installer process.

Uploaded by

A One
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views

PythonInstallation WINDOWS

This document provides instructions for installing Python and PyCharm on Windows. [1] It recommends downloading the latest version of Python from the Python website. [2] Detailed steps are provided for installing Python and selecting options like adding Python to the system PATH and disabling path length limits. [3] Instructions then guide the user on downloading and installing PyCharm Community Edition from JetBrains, and completing the installer process.

Uploaded by

A One
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

Patrick Morrow

Email: [email protected]

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.7.2. 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”


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.

Step 2: Download and Install PyCharm

1. Download PyCharm from here:


https://www.jetbrains.com/pycharm/download/#section=windows
2. Download – Choose the Community version and click “download”. After the installer
downloads, open the installer.

3. Start the installer – Click next to continue


4. Continue the installer – Click next to continue

5. Create desktop shortcut and create association – If you would like a PyCharm
desktop shortcut, you can add it here. You may or may not have a choice between a
32-bit or 64-bit launcher. If there is only one option, then choose that option.
Otherwise, you can figure out which is best for your computer by following this short
guide: https://www.howtogeek.com/howto/21726/how-do-i-know-if-im-running-
32-bit-or-64-bit-windows-answers/

Additionally, I recommend creating an association so all .py files will open with
PyCharm. Also, check “Add ‘Open Folder as Project’”

6. Install – Click Install


7. Finish – Click Finish

Step 3: PyCharm Setup

1. Open PyCharm and Create a New Project.


2. Name the project “csce100” and make sure the base interpreter is set under the Project
interpreter dropdown. Then, click “Create”.
3. To get yourself ready for the first assignment, right click on the project, hover on New,
and select Directory. Name the new directory “assignment1”.

4. Download the test.py file from canvas under Files à “Python Installation Instructions”.
5. Move the test.py file to your new “assignment1” folder and open the file in the PyCharm
editor.
6. To make sure that everything is set up correctly, run the test.py file. To run the file, right
click in the editor window and select “Run”

7. You should see “Welcome to CSCE 100” in the run window.


I recommend playing around with PyCharm and getting familiar with the IDE (Integrated
Development Environment). Google “PyCharm instructional guides”, watch YouTube videos on
using PyCharm, etc. If you run into any issues, feel free to email me and I will work with you to
resolve any issues. My email is: [email protected].

You might also like