Skip to main content
HomeAbout PythonLearn Python

Installing Anaconda on Windows Tutorial

This tutorial will demonstrate how you can install Anaconda, a powerful package manager, on Microsoft Windows.
Dec 2019  · 5 min read

Run and edit the code from this tutorial online

Open Workspace

Anaconda is a package manager, an environment manager, and Python distribution that contains a collection of many open source packages. This is advantageous as when you are working on a data science project, you will find that you need many different packages (numpy, scikit-learn, scipy, pandas to name a few), which an installation of Anaconda comes preinstalled with.

If you need additional packages after installing Anaconda, you can use Anaconda's package manager, conda, or pip to install those packages. This is highly advantageous as you don't have to manage dependencies between multiple packages yourself. Conda even makes it easy to switch between Python 2 and 3 (you can learn more here). In fact, an installation of Anaconda is also the recommended way to install Jupyter Notebooks which you can learn more about here in this Jupyter Notebook tutorial

With that, let's get started!

Start Learning Python For Free

Introduction to Python

BeginnerSkill Level
4 hr
5.4M learners
Master the basics of data analysis with Python in just four hours. This online course will introduce the Python interface and explore popular packages.

How to Download and Install Anaconda

 1. Go to the Anaconda Website and choose a Python 3.x graphical installer (A) or a Python 2.x graphical installer (B). If you aren't sure which Python version you want to install, choose Python 3. Do not choose both. Note: see our installing anaconda on Mac OS X tutorial if you're not on Windows.

Installing Anaconda on Windows Tutorial

 2. Locate your download and double click it.

Installing Anaconda on Windows Tutorial

When the screen below appears, click on Next.

Installing Anaconda on Windows Tutorial

 3. Read the license agreement and click on I Agree.

Installing Anaconda on Windows Tutorial

 4. Click on Next.

Installing Anaconda on Windows Tutorial

 5. Note your installation location and then click Next.

Installing Anaconda on Windows Tutorial

 6. This is an important part of the installation process. The recommended approach is to not check the box to add Anaconda to your path. This means you will have to use Anaconda Navigator or the Anaconda Command Prompt (located in the Start Menu under "Anaconda") when you wish to use Anaconda (you can always add Anaconda to your PATH later if you don't check the box). If you want to be able to use Anaconda in your command prompt (or git bash, cmder, powershell etc), please use the alternative approach and check the box.

Installing Anaconda on Windows Tutorial  
7. Click on Next.
Installing Anaconda on Windows Tutorial

 8. You can install Microsoft VSCode if you wish, but it is optional.

Installing Anaconda on Windows Tutorial

 9. Click on Finish.

Installing Anaconda on Windows Tutorial

How to Add Anaconda to Path (Optional)

This is an optional step. This is for the case where you didn't check the box in step 6 and now want to add Anaconda to your Path. The advantage of this is that you will be able to use Anaconda in your Command Prompt, Git Bash, cmder etc.

 1. Open a Command Prompt.

Installing Anaconda on Windows Tutorial

 2. Check if you already have Anaconda added to your path. Enter the commands below into your Command Prompt. This is checking if you already have Anaconda added to your path. If you get a command not recognized error like in the left side of the image below, proceed to step 3. If you get an output similar to the right side of the image below, you have already added Anaconda to your path.

conda --version

python --version
Installing Anaconda on Windows Tutorial

 3. If you don't know where your conda and/or python is, open an Anaconda Prompt and type in the following commands. This is telling you where conda and python are located on your computer.

where conda
where python
Installing Anaconda on Windows Tutorial

 4. Add conda and python to your PATH. You can do this by going to your Environment Variables and adding the output of step 3 (enclosed in the red rectangle) to your path. If you are having issues, here is a short video on adding conda and python to your PATH.

Installing Anaconda on Windows Tutorial

5. Open a new Command Prompt. Try typing conda --version and python --version into the Command Prompt to check to see if everything went well.

Installing Anaconda on Windows Tutorial

Conclusion

This tutorial provided a quick guide on how to install Anaconda on Windows as well as how to deal with a common installation issue. If you would like to learn more about Anaconda, you can learn more about it here. If you aren't sure what to do to start coding on your computer, I recommend you check out the the Jupyter Notebook Definitive Guide to learn how to code using Jupyter Notebooks.

If you want to learn about Python for Data Science, I suggest you check out the DataCamp course Intro to Python for Data Science. If you any questions or thoughts on the tutorial, feel free to reach out in the comments below or through Twitter.

Topics

Python Courses

Course

Introduction to Data Science in Python

4 hr
452.1K
Dive into data science using Python and learn how to effectively analyze and visualize your data. No coding experience or skills needed.
See DetailsRight Arrow
Start Course
Certification available

Course

Introduction to Python

4 hr
5.4M
Master the basics of data analysis with Python in just four hours. This online course will introduce the Python interface and explore popular packages.
See MoreRight Arrow
Related

Mastering the Pandas .explode() Method: A Comprehensive Guide

Learn all you need to know about the pandas .explode() method, covering single and multiple columns, handling nested data, and common pitfalls with practical Python code examples.
Adel Nehme's photo

Adel Nehme

5 min

Python NaN: 4 Ways to Check for Missing Values in Python

Explore 4 ways to detect NaN values in Python, using NumPy and Pandas. Learn key differences between NaN and None to clean and analyze data efficiently.
Adel Nehme's photo

Adel Nehme

5 min

Seaborn Heatmaps: A Guide to Data Visualization

Learn how to create eye-catching Seaborn heatmaps
Joleen Bothma's photo

Joleen Bothma

9 min

Test-Driven Development in Python: A Beginner's Guide

Dive into test-driven development (TDD) with our comprehensive Python tutorial. Learn how to write robust tests before coding with practical examples.
Amina Edmunds's photo

Amina Edmunds

7 min

Exponents in Python: A Comprehensive Guide for Beginners

Master exponents in Python using various methods, from built-in functions to powerful libraries like NumPy, and leverage them in real-world scenarios to gain a deeper understanding.
Satyam Tripathi's photo

Satyam Tripathi

9 min

Python Linked Lists: Tutorial With Examples

Learn everything you need to know about linked lists: when to use them, their types, and implementation in Python.
Natassha Selvaraj's photo

Natassha Selvaraj

9 min

See MoreSee More