Installation#

We recommend to always use a virtual environment for your Python projects.

  1. Non-Belle II user can create a virtual environment with the following command:

    python3 -m venv venv
    

    Belle II users see below for creation of a venv with the Belle II software.

  2. Setup your local environment. For example, run:

    source venv/bin/activate
    
  3. Install b2luigi from PyPI into your environment.

    pip3 install b2luigi
    

Now you can go on with the Quick Start.

Install b2luigi with the Belle II software#

In the current versions of the Belle II software externals, b2luigi is not included. The main reason is to have a faster release cycle for b2luigi. It is very highly recommended to create a b2venv and install b2luigi there. Please also have a look into the Belle II specific examples.

Local Development Installation#

See the Development and TODOs section for more information on how to install b2luigi for development.