Installing Anaconda on Windows Tutorial

Installing Anaconda on Windows Tutorial
Share This On

Anaconda is a package management, environment manager, and Python distribution including a large number of open source packages. This is useful since, when working on a data science project, you will require several different packages (numpy, scikit-learn, scipy, and pandas, to name a few).

These packages are preinstalled in Anaconda. If you need to install more packages after installing Anaconda, you may use conda or pip. This is quite helpful since it eliminates the need to manually handle package dependencies. Conda also facilitates switching between Python 2 and 3 (you can learn more here). In fact, Anaconda installation is also the preferred method for installing Jupyter Notebooks, as you can learn in the DataCamp site.

How to Download and properly Install Anaconda

Choose a Python 3.x graphical installer (A) or a Python 2.x graphical installation (B) from the Anaconda website (B). Choose Python 3 if you are unsure which Python version to install. Do not select both.

 2. Locate your download and double click it.
When the screen below appears, click on Next.

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

4. Click on Next.

 5. Note your installation location and then click Next.
6. This is an essential component of the installation procedure. The recommended course of action is to not click the box to add Anaconda to your path. This implies you must use Anaconda Navigator or the Anaconda Command Prompt (available in the Start Menu under “Anaconda”) in order to utilize Anaconda (you can always add Anaconda to your PATH later if you choose not to select the box). If you wish to utilize Anaconda on your command prompt (or git bash, cmder, or powershell, etc.), please use the alternate method and check the box.
7. Click on Next.

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

9. Click on Finish.

Path Anaconda should be included (Optional)

This is a completely optional step. This is for if you didn’t tick the box in step 6 and want to add Anaconda to your Path now. The benefit is that you will be able to utilize Anaconda in your Command Prompt, Git Bash, cmder, and so on.

1. Launch the Command Prompt.

2. Check to see if Anaconda is already in your path. Enter the following commands into your Command Prompt. This checks to see if Anaconda is already in your path. Proceed to step 3 if you receive a command not recognized error, as shown on the left side of the image below. You have already added Anaconda to your route if you get an output similar to the right side of the image below.

3. Open an Anaconda Prompt and type the following instructions if you don’t know where your conda and/or python are. This will show you where conda and python are on your PC.

4. Add Python and Conda to your PATH. You may accomplish this by heading to your Environment Variables and adding the output of step 3 (circled in red) to your path. If you’re having trouble, here’s a quick video on how to add conda and Python to your PATH.

5. Launch a new Command Prompt window. To see if everything went correctly, type conda —version and python —version into the Command Prompt.

Conclusion

This article gave a fast overview on how to install Anaconda on Windows as well as how to resolve a common installation issue. If you’re not sure how to get started coding on your computer, I recommend reading the Jupyter Notebook Definitive Guide to learn how to code using Jupyter Notebooks. If you want to learn more about Python for Data Science, I recommend the DataCamp course Intro to Python for Data Science. If you have any questions or comments on the tutorial, please leave them in the comments section.
Share This On

1 thought on “Installing Anaconda on Windows Tutorial

Leave a Reply

Your email address will not be published. Required fields are marked *