Table of Contents

Python Installation

Python shall be available in computer labs, you do not have to install anything. The following is mainly for the installation on your home computers.

Suggested way of installation

We suggest to install Python using a tool called uv into a virtual environment to prevent unwanted interactions with system-wide Python installation. uv is an external manager of various Python versions, package installation, and managing virtual environments and projects. It can be somewhat intimidating for novices, but we suggest to get used to it. You will save yourself lots of troubles in the future!

  1. Install uv itself
  2. Install Python using uv
  3. How to run scripts using uv

Other ways of installation

There are many other ways how to install Python on your computer:

Virtual environment

In practice you will often need several installed Python version, each with its own packages and libraries. Virtual environments come to the rescue. They will help you to create many independent installations of Python, with different versions and packages.