Installation

BiaPy can be installed and run locally on any Linux, Windows, or macOS system using Docker, or via the command line using a package manager like Conda, Mamba, and Git or pip. Additionally, BiaPy can be seamlessly installed and used on Google Colab through our code-free notebooks. Each of these approaches is designed to cater to different user experience levels, so choose the installation method that best fits your expertise.

../_images/how_to_run.svg

Prerequisites

  • If your system has one or more GPUs, ensure your NVIDIA drivers are up to date.

  • For Docker and graphical user interface (GUI) installations: Virtualization Technology must be enabled in your BIOS. Follow this guide for instructions on how to enable it.

Choose your installation method

Download the corresponding BiaPy GUI for you OS:

Then, to use the GUI you will need to install Docker in your operating system. You can follow these steps:

In Windows you will need to install Docker Desktop with Windows Subsystem for Linux (WSL) activated. There is a good video on how you can do it here. Manually, the steps are these:

  • Install Ubuntu inside WSL. For that open PowerShell or Windows Command Prompt in administrator mode by right-clicking and selecting Run as administrator and type the following:

    wsl --install
    

    This command will enable the features necessary to run WSL and install the Ubuntu distribution of Linux. Then restart your machine and you can do it again so you can check that it is already installed.

    Once the installation ends it will ask for a username and a password. This is not necessary, exit the installation by using Ctrl+C or by closing the window.

    Then you need to make Ubuntu the default Linux distribution. List installed Linux distributions typing:

    wsl --list --verbose
    

    The one with * is the default configuration. So, if it is not Ubuntu, it can be changed by using the command:

    wsl --set-default Ubuntu
    
  • Install Docker Desktop.

    After installation, verify that Docker Desktop is properly configured:

    • Open the Docker Desktop application.

    • Navigate to Configuration (gear icon in the top-right corner).

    • Under the General tab, ensure the option for WSL 2 is enabled.

    Tip

    If you’re using a GPU, check the official documentation on GPU support in Docker Desktop for additional setup instructions.

Then, the only thing you need to do is double-click on the BiaPy binary (application) file you downloaded.

You may run into a message telling you that “BiaPy” is an unrecognized app when running it. This message occurs if an application is unrecognized by Microsoft. In this situation you can click in More info button and Run anyway. These steps are depicted in the figure below:

../_images/windows-unrecognized-app.png

How to bypass the security error message when executing BiaPy app in Windows.

Note

Whenever you want to run BiaPy’s GUI you need to start Docker Desktop first.

The next step consists in selecting the specific workflow that aligns with your intended use.