If you are a problem solver and like to solve programming questions, the anaconda distribution for python could be one of the best options to use and solve problems in python. Anaconda is a free application and can be installed on personal computers (school or work) where administration access is generally not required. Anaconda comes up with many different pre-installed packages and libraries in python that one can use, like NumPy, Pandas, Matplotlib and many other packages that programmers use.
In this article, you will learn about anaconda python 3 installations for windows 10, setting up the python environment and executing python programs.
Installation steps of anaconda python 3
You can use the following link to download anaconda python 3
- Select the Windows option to install it for the windows version.
- Click Download
- Open Anaconda and set Python Environment
- Open Anaconda prompt and run your python code.
Open anaconda.com/anaconda downloads page
When you will open this link, https://www.anaconda.com/products/distribution.
The window screen will look something like this like shown in below image.
Select the option according to your system configuration to download.
Select the Windows button to download Anaconda for windows. You can see a pop-up on the right side of the page, choose the options according to your system configuration. It can be either Windows or Linux, or macOS.
Now, you need to select the most recent version of python (the version at the time of writing this article is python 3.9) to download, you can select either the 64-bit graphics installer version or 32-bit graphics installer version to download it. If you are unsure if your computer is working on a 32-bit version of Windows or a 64-bit version of windows, then choose the 64-bit version.
After selecting the download option, you will see the following window.
Open and set environment
Once the download starts, it might take some time because it is too large (about 600 MB). Once the download is completed, open and run the .exe installer.
You must click Next to confirm the installation at the start of the installation process. Then click on “I agree” to agree with the license. You do not need to check the box provided for the advanced installation screen option, as it is not recommended.
Open anaconda prompt and run your code
Now your python anaconda environment is set up, go to the windows menu bar and search for Anaconda Prompt.
The Anaconda Prompt is now visible. The Python distribution Anaconda and the Anaconda Prompt are both command-line interfaces. The Anaconda Prompt, which is just a blank screen and some text, may not seem like much, but Python problem solvers find it useful.
In Anaconda Prompt, type python and press enter; this will invoke and call the python interpreter.
Now you can start writing your python code and execute your python codes.
After completing your work or tasks, you can exit the Anaconda prompt.
Enter exit () at the prompt >>> to terminate the Python interpreter. The instruction exit () has two parentheses at the end. To terminate the Python interpreter and return to the Anaconda Prompt, use the () command.
You can also try this to close the Anaconda prompt; close the window it will automatically exit from the anaconda prompt, or else you can use the exit command.
Whenever you want to execute your python codes, you need to open the anaconda prompt again and type python to set the environment.
This is how you can install anaconda python for windows and run your python files. If you face any trouble in installing anaconda python for windows, try to read the article carefully and follow the steps again.
It is better to set up the same path on your computer for downloading python shell or anaconda python. It is advised to store all your python files at one location so that you can easily access them and do not get any interpreter issues during the execution of larger projects.