====== 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 ===== * [[https://www.continuum.io/downloads|Anaconda]] is a Python distribution that comes with many pre-installed (not only scientific) packages. The disadvantage is that the distribution is relatively huge. * [[http://conda.pydata.org/docs/installation.html|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**: [[https://www.youtube.com/watch?v=y5uOASEqn6Q|1]], [[https://www.youtube.com/watch?v=0KVIsLTBjWA|2]], [[https://www.youtube.com/watch?v=o3K_fE6GYRk|3]] ===== PyCharm ===== Download and install [[https://www.jetbrains.com/pycharm/download/#section=windows|PyCharm]], a Python IDE. The free Community edition is fully sufficient. The professional version for students is available from [[https://download.cvut.cz/|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)