====== 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 ===== * [[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 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**: [[https://www.youtube.com/watch?v=y5uOASEqn6Q|on OSX]], [[https://www.youtube.com/watch?v=0KVIsLTBjWA|on Ubuntu]], [[https://www.youtube.com/watch?v=o3K_fE6GYRk|on Windows]] Always avoid installing python packages as a root user! ===== 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 Python 3.x interpreter)