Skip to content

Installation

1. Install via pip

Before installation, it is recommended to create a virtual environment to avoid dependency conflicts with other projects (optional).

python -m venv venv
source venv/bin/activate 

Install the package from PyPI:

pip install mlqtl

Starting from version 2.3.0, numpy no longer provides binary packages for Linux systems with Glibc versions below 2.28. See the link <https://numpy.org/devdocs/release/2.3.0-notes.html>_. If you are using an older Linux system, you need to install a lower version of numpy.

2. Install from source

Download the source code

# Clone the repository from GitHub
git clone https://github.com/huanglab-cbi/mlqtl.git

# Download from our website
wget https://cbi.njau.edu.cn/mlqtl/doc/download/source_code.tar.gz

Navigate to the code directory

cd mlqtl

Install dependencies

pip install -r requirements.txt

Install the package

pip install .

3. Use prebuilt files

If you are using Windows and do not have Python installed, you can use precompiled binary packages. Please visit our download page to get the latest version.

After downloading, extract it to any directory, and then run the following command in CMD or PowerShell:

mlqtl.exe --help