Python for all (1): Installation of the Anaconda environment

Paloma Recuero de los Santos    25 January, 2019
Now that we have defined the objective of this tutorial in the previous post (“Dare with the Python: an experiment for all”), we will really begin to work. We kick off our first project in Python with the installation of the environment, the installation of the SciPy platform and the scikit-learn library. We can do it directly from the Python page, however, we will do it in the simplest way (recommended for beginners), which is through Anaconda. Anaconda installs Python, the development environment and the most important libraries for Mathematics, Science and Engineering, avoiding the difficulty of installing the different packages independently and the possible compatibility problems that may arise.

In this first tutorial post, we will learn how to install an environment to develop Python, with which we will then begin to learn, practice, and develop Machine Learning and Deep learning software.

Downloading the Anaconda software

Anaconda is an easy and free environment of Python for Data Science. The first strep consist of visiting the web page of Anaconda and selecting ´Download´ on the download’s page.

Homepage de Anaconda.
Figure 2: Anaconda Homepage

We will download the version 3.6. We will select the installer of 32 bits or 64 bots according to what we have installed in our operating system. (If in doubt, this information should be in the systems settings menu, option ´About´ or similar).

Seleccionamos el instalador para nuestro S.O.
Figure 3: We download the installer for our S.O. 

Once the software is downloaded, we can launch the installer. We will go through the usual questions:

Lanzamos el instalador.
Figure 4: We launch the installer.

If the installation is only for the user who has initiated the session or for everyone in the team who will use it (in this case, it will be necessary to appoint administrative privileges).

Instalación por usuario o por equipo.
Figure 5: Installation for user or for team

The installation route:

Indicamos la ruta de instalación.
Figure 6: We select the installation route

How we want to integrate our software (in this instance Windows), we select the recommended defect option.

Seleccionamos cómo queremos que se registre en Windows.
Figure 7: We select how we want it to register in Windows

 And that’s all. Simple, right?

Final de la instalación.
Figure 8: Finish the installation
Now we can access Anaconda Cloud, which consists of a management service where we can search packages, access, store and share private notebooks, environments, and the SciPy and conda packages. The Anaconda cloud also makes it easier for us to keep abreast of updated versions of the packages and environments that we are using.
Anaconda Cloud.
Figure 9: Anaconda Cloud.
Now, we will make sure that Python has installed correctly. For this, we will open Anaconda Prompt (from one´s own Windows menu ´recently added´) and we will launch the Python interpreter with the Python command. We obtain the following result, that shows us this version.
Figure 10: 

If you write ´help()´ you can access the interactive help feature. Also, you can practice with this tutorial. In particular, we recommend the section ´3 An Informal Introduction to Python´.

In the following post, we will learn about Jupyter Notebooks, create on of our own and get everything ready to start working on libraries. Don´t miss it!

All the posts in this tutorial are here:

Leave a Reply

Your email address will not be published.