Installing Anaconda

Hey scientist! How is it going?
We changed our opinion on Python distributions! They ease your life!
Today we’ll show how to install one of the main scientific Python distros, Anaconda!

Alright dear scientist, do you remember this post, where I said that I’d rather use the system versions of Python? Now I was shocked, after I discovered the ease that the distros bring to us. Anaconda, for instance, has more than 190 scientific packages! It lets your PC ready to use several Python packages!

Installing Anaconda is very simple. Download the installer here, according to your system and Python version. You just need to look at the section aimed to your system. We want Python 3. The most recent version when we updated this post was 3.5. For Linux, the download screen looks like this:

anaconda_page

After downloading, follow the install procedures of your system. On Linux, you open a terminal on the folder that the installer is (for us, ~/Downloads) and type the command below.

anaconda_install

Then the installation begins with the license agreement. To install Anaconda, we need to accept the conditions. Answer yes when asked.

anaconda_install1

anaconda_install2

anaconda_install3

Now it’s time to choose the folder where Anaconda will be installed. If you don’t want to change the folder, press Enter when the option appears:

anaconda_install4

After installing the packages, the installation asks to put Anaconda information on your path; doing that, you can access the packages directly on terminal. I would say yes:

anaconda_install5

The installation says goodbye, and you’re good to go!

anaconda_install6

After installing Anaconda, we can install available packages using the command conda install.

anaconda_keepcalm

As an example, to install the development environment Spyder (which will help us big time!), we type on a Linux terminal:

conda_installspyder

Then, to execute Spyder:

spyder

This is how Spyder looks. Did you like Spyder? Next week I’ll show you guys how to use it! 🙂

spyder_screen

Besides conda install, we have conda update, used to update packages from your Anaconda distro. The following commands are used to update the conda system. Press Enter to proceed:

conda_update

That’s it! Now you have a powerful tool to work with scientific Python! On the next Python posts we’ll work with Anaconda and Spyder until we say we’ll not 🙂
Thanks scientist! Gigaregards!


Did you like this post? Please comment and share with your friends!
Want to download Programando Ciência codes? Go to our GitHub!
Make a donation for Programando Ciência!
Like us also on Facebook: www.facebook.com/programandociencia
I’m on Twitter! Follow me if you can! @alexdesiqueira

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s