Warning
This page is located in archive. Go to the latest version of this course pages. Go the latest version of this page.

Python installation

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

In the classrooms, the following packages and their versions are installed:

python=3.4.3
numpy=1.10.4
scipy=0.17.0
scikit-learn=0.17
pandas=0.17.1
matplotlib=1.5.1
seaborn=0.7.0

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

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

Anaconda/Miniconda

  • Anaconda is a Python distribution that comes with many pre-installed (not only scientific) packages. The disadvantage is that the distribution is relatively huge.
  • Miniconda is stripped-down version of Anaconda. You first download and install the bootstrap distribution, and than manually add the individual packages. Choose version with Python 3 for your operating system.

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

$ conda install numpy scipy scikit-learn pandas matplotlib seaborn

Videos of installation: 1, 2, 3

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 either python version 2.x or 3.x)

courses/ui/exercises/python_installation.txt · Last modified: 2018/02/19 16:01 by spilkjir