Table of Contents

Python installation

The course excercise require an installation of Python with certain packages for scientific computing.

In the classrooms, the following packages are installed:

python>=3.6.x
numpy
scipy
scikit-learn>=0.20.x
pandas
matplotlib
seaborn

For writing more complex programs, we can use the PyCharm IDE.

The following paragraphs give you some tips on how to install the above packages to your home computer.

Anaconda/Miniconda

If you installed Miniconda, you can install the required packages from the command line:

$ conda install numpy scipy scikit-learn pandas matplotlib seaborn

Videos of installation: on OSX, on Ubuntu, on Windows

Always avoid installing python packages as a root user!

PyCharm

Download and install PyCharm, a Python IDE. The free Community edition is fully sufficient.

The professional version for students is available from download.cvut.cz.

Open a project: File → Open

Setup a python interpreter: File → Settings → Project → Project Interpreter (you should see Python 3.x interpreter)