Back to Blog

how to install python
Data Science

How to install Python on Windows: Three options

4 minute read | January 10, 2017
Roger Huang

Written by:
Roger Huang

Ready to launch your career?

Intro: How to install Python on Windows

Python is a widely-used general-purpose programming language. It’s a great tool for data scientists for data exploration, visualization, and analysis and is one of the most popular tools for data mining and data wrangling. You’re going to want to learn how to install Python if you want to work with data and have access to powerful Python libraries.

how to install python
Visit https://www.python.org/ to learn more about Python and the Python Software Foundation!

One of the huge perks of Python over SAS is that Python is open source and totally free. One of the downsides is that despite the Python community’s attempts to make it an accessible tool for everyone, a lot of folks find the installation process daunting or confusing. It’s hard sometimes to find exactly how to get started with your feet running and there aren’t many clear and comprehensive guides on the multiple ways how to install Python.

Today we’ll cover three ways how to install Python on your Microsoft Windows computer step by step. All you’ll need is an internet connection to get started!

Option 1 (Recommended)

The easiest and fastest way to get started with the Python programming language is to download Yhat’s free Python app, Rodeo. The app includes a text editor where you can write and execute Python code, plus useful additions like a history tab, file navigator, and plots tab. It also has a few introductory tutorials in the sidebar for folks who are totally new to Python.

how to install python

Rodeo comes with Python installed as part of the app download so that you don’t have to do any additional steps before you start using Python. Rodeo comes with a distribution of Python called Miniconda, which we discuss below, plus the additional “place” or environment dedicated to writing Python code.

how to install python

To download Rodeo (includes Miniconda, and therefore Python):

  • Go to https://www.yhat.com/products/rodeo
  • Click the blue Download for Windows button, or if the button reads Download for Mac, click the “Other Platforms” subtext below and select Windows
  • A file with the extension .exe should begin to download
  • Double click the .exe file and follow the instructions on the screen. If you’re unsure about any setting, simply accept the defaults as they can all be changed later.
  • When you’re finished, the Rodeo app will open. Python is included and already installed, so you can get straight to coding in the text editor (top left pane))! For example, try typing print(“Hello world!”) and pressing command+return, or clicking the Run Linebutton.

Get To Know Other Data Science Students

Diana Xie

Diana Xie

Machine Learning Engineer at IQVIA

Read Story

Haotian Wu

Haotian Wu

Data Scientist at RepTrak

Read Story

Sam Fisher

Sam Fisher

Data Science Engineer at Stratyfy

Read Story

Option 2 (Anaconda)

Anaconda is a free distribution of Python provided by Continuum Analytics. It includes a lot of the most popular data science packages installed as well (150 in total + another 250 can be installed with the conda install command), ready for use. Unlike Rodeo, when you download Anaconda, you do not also get an environment (you’ll often hear them called IDE’s, which stands for an interactive development environment) for doing your data exploration/analysis with Python. To be specific, Rodeo actually installs with Miniconda, which is a lighter alternative to Anaconda. Minconda comes just with Python and conda. Here’s a great post about the differences between Conda, Anaconda, and Miniconda on Continuum’s blog if you want to know more.

how to install python

To download Anaconda (includes Python):

  • Go to https://www.continuum.io/downloads
  • Click the green 64-bit Installer button (unless you want Python 2.7, which will retire in 2020)
  • A file with the extension .exe should begin to download
  • Double click the .exe file and follow the instructions on the screen. If you’re unsure about any setting, simply accept the defaults as they can all be changed later.
  • When you’re finished, a new terminal window will open. If not, click Start – Run – Command – Prompt.
  • You can start coding in your terminal. For example, try typing print(“Hello world!”)and pressing return.
how to install python

Option 3 (Bare minimum)

As we mentioned above, Rodeo or Anaconda will both include Python, as well as additional nice-to-haves. But, if you aren’t interested in downloading an app built for working with Python (Option 1, Rodeo), or many of Python’s most popular packages (Anaconda), you can always download just the bare bones programming language and run it from the command line. This is something that’s more recommended for expert Python users.

how to install python

To download Python:

  • Go to https://www.python.org/downloads/windows/
  • Click Latest Python 3 Release - Python 3.6.0 (as of current date 🙂 )
  • Scroll to the bottom of the page to the Files table and find the Windows x86 executable installer. If you want to download a different file type, feel free to do so.
  • Double click the .exe file and follow the instructions on the screen. If you’re unsure about any setting, simply accept the defaults as they can all be changed later.
  • You will notice that the installation brings up a command prompt window and installs Pip, which is a package management tool. Pip lets you install any Python package (like those that come in preloaded in Rodeo and Anaconda) that are available for download through PyPI (Python Package Index).
  • You can start coding in either your terminal or in IDLE. Simply search for Python in your programs and open either IDE or the command line and run a line of code. For example, try typing print(“Hello world!”) and pressing return.

Python is extensively popular among data scientists and machine learning engineers and plays an important role in the development of data science We hope that was a helpful guide on how to install Python on your Windows computer. Good luck & happy data-science-ing!

This was a guest post from our friends at Yhat.

Since you’re here…Are you interested in this career track? Investigate with our free guide to what a data professional actually does. When you’re ready to build a CV that will make hiring managers melt, join our Data Science Bootcamp which will help you land a job or your tuition back!

About Roger Huang

Roger has always been inspired to learn more. He has written for Entrepreneur, TechCrunch, The Next Web, VentureBeat, and Techvibes. Previously, he led Content Marketing and Growth efforts at Springboard.