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 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

  • 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 a stripped-down version of Anaconda. You first download and install the bootstrap distribution, and then manually add the individual packages. Choose the version with Python 3 for your operating system.

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)

courses/ui/exercises/python_installation.txt · Last modified: 2020/02/03 14:56 (external edit)