This is a mini tutorial on how to install Anaconda and import libraries into the environment. There are plenty of tutorial around the web so for the things that are not cover here google your way out of the problems that you may encounter.

Install Anaconda and Import Libraries into the IDE
Install Anaconda and Import Libraries into the IDE

In the case you do not know what is Anaconda, well is an IDE ( Here you can see what is an IDE and why you should use one) for Python specialized in big data oriented developments.

Installing the software is pretty much straight forward. Just

1: go to the download section of the official Anaconda website:

2: select the proper distribution for your PC/Operative system

3: download and install it.

You will probably have different libraries that you would like to import into your working environment. In order to do that you will use a command line interface. Anaconda has a shell interface called “Anaconda Prompt” just locate the executable and run it.

Once the shell is open use the following commands for installing the packages

conda install <yourPackageName>

Where <yourPackageName> is the name of the library that you are planning to import in the program that you will write.

For example, in the case of Tensor Flow these are the commands:

conda install tensorflow
conda install keras
conda install theano

Now that the libraries are successfully installed you can use them directly in the code. The IDE is called Spyder. You will find the executable in the same folder of the Anaconda Prompt. Just run it!

If you are in need of an example of program you can refer to the second video of this introduction to object oriented programming.

If you successfully followed the instructions you now know how to install anaconda and import libraries. This should kick start your adventure into programming in Python like professionals do.

Additional resource in the web:

Sharing is caring:

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Facebook
LinkedIn