This guide will help you install RegressionLab on your computer. There are multiple installation methods available, from a quick automated setup to manual installation for advanced users.
Before installing RegressionLab, ensure you have:
-
Git: Version control system for cloning the repository.
- Windows: Download from git-scm.com.
- macOS: Install via Homebrew
brew install gitor download from git-scm.com. - Linux:
sudo apt-get install git(Debian/Ubuntu),sudo dnf install git(Fedora),sudo zypper install git(openSUSE), orsudo pacman -S git(Arch). Theinstall.shscript can also offer to install Git automatically on supported distributions.
-
Python: Version 3.12 or higher (3.13 supported).
- Download from python.org.
- Verify installation:
python --versionorpython3 --version. On some systems (e.g. Arch Linux) the command may bepythononly; the setup script detects either.
- Operating System: Windows 10/11, macOS 10.14+, or Linux.
- RAM: 4 GB minimum, 8 GB recommended.
- Disk Space: 1 GB minimum, 2 GB recommended for application and dependencies.
- Display: 1280x720 minimum resolution recommended.
This is the fastest and easiest way to install RegressionLab. The installation script will:
- Clone the repository.
- Create a virtual environment.
- Install all dependencies.
- Create a desktop shortcut.
-
Download the installation script:
- Right-click on
install.batand select "Save link as..." to download from the repository - Or visit the GitHub repository and download it directly
- Right-click on
-
Navigate to the folder where you want to install RegressionLab
-
Run the installation script:
-
Wait for the installation to complete. The script will:
- Clone the repository into a
RegressionLabfolder. - Set up a Python virtual environment.
- Install all required dependencies.
- Create a desktop shortcut named "RegressionLab".
- Clone the repository into a
- Launch RegressionLab:
-
Download the installation script:
- Right-click on
install.shand select "Save link as..." to download from the repository - Or visit the GitHub repository and download it directly
- Or use wget/curl:
wget https://raw.githubusercontent.com/DOKOS-TAYOS/RegressionLab/main/install.sh # or curl -O https://raw.githubusercontent.com/DOKOS-TAYOS/RegressionLab/main/install.sh
- Right-click on
-
Make the script executable:
chmod +x install.sh
-
Run the installation script:
./install.sh
-
Wait for the installation to complete. The script will:
- Check Git: If Git is not installed, on Linux it will offer to install it automatically (apt, dnf, yum, zypper, or pacman depending on your distribution).
- Clone the repository into a
regressionlabfolder in the current directory. If this folder already exists, you will be asked whether to remove it and clone again, or to runsetup.shin the existing directory. - Run
setup.shinside the cloned repository. The setup script will:- Check Python 3.12+; on Linux it can offer to install Python 3.12 automatically if missing.
- Check Tkinter; on Linux it can install the system package (
python3.12-tk,python3-tkinter, etc.) if needed. - Create a virtual environment in
.venv. - Install dependencies from
requirements.txt. - Create
.envfrom.env.example. - Create a desktop shortcut (
RegressionLab.desktop) on Desktop, Escritorio, or your home directory.
-
Launch RegressionLab:
- Double-click the desktop shortcut (if supported)
- Or run
bin/run.shfrom the installation folder:cd regressionlab ./bin/run.sh
This method gives you more control over where the repository is cloned and allows you to easily update the application.
git clone https://github.com/DOKOS-TAYOS/RegressionLab.git
cd RegressionLabWindows:
setup.batmacOS/Linux:
chmod +x setup.sh
./setup.shThis will:
- Check Python 3.12+ (on Linux, optionally install it if missing).
- Check Tkinter (on Linux, optionally install the system package if missing).
- Create a virtual environment in
.venv. - Install all dependencies.
- Create a desktop shortcut.
- Copy
.env.exampleto.env.
Windows:
# Create virtual environment
python -m venv .venv
# Activate virtual environment
.venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Copy environment configuration
copy .env.example .envmacOS/Linux:
# Create virtual environment
python3 -m venv .venv
# Activate virtual environment
source .venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Copy environment configuration
cp .env.example .envIf you prefer Poetry for dependency management:
# Install Poetry if not already installed
pip install poetry
# Install dependencies
poetry install
# Activate the virtual environment
poetry shellFor users who want complete control over the installation process:
git clone https://github.com/DOKOS-TAYOS/RegressionLab.git
cd RegressionLabOr download the ZIP file from GitHub and extract it.
Windows:
python -m venv venv
venv\Scripts\activatemacOS/Linux:
python3 -m venv venv
source venv/bin/activateChoose one of the following methods:
Using requirements.txt:
pip install -r requirements.txtUsing pyproject.toml:
pip install .This installs the same runtime dependencies as requirements.txt (including Pillow and Streamlit).
For development (testing, linting with Ruff, formatting with Black, type checking with mypy, pre-commit):
pip install -r requirements-dev.txt
# or
pip install -e ".[dev]"# Copy the example configuration
cp .env.example .env
# Edit .env with your preferred text editor
nano .env # or vim, code, notepad, etc.See the Configuration Guide for details on available options.
Test that everything is working (from the project root, with virtual environment activated if you use one):
# Desktop application (Tkinter)
python src/main_program.py
# Or: bin\run.bat (Windows) / ./bin/run.sh (Linux/macOS)
# Web version (Streamlit)
streamlit run src/streamlit_app/app.py
# Or: bin\run_streamlit.bat (Windows) / ./bin/run_streamlit.sh (Linux/macOS)After installation, you can run RegressionLab in several ways:
Method 1: Desktop Shortcut
Method 2: Shell Scripts
The bin/ scripts activate the project virtual environment and run the app. They require that you have run setup.bat (Windows) or setup.sh (macOS/Linux) first; otherwise they exit with "Virtual environment not found".
Windows:
bin\run.batmacOS/Linux:
./bin/run.shMethod 3: Direct Python Execution
# Activate virtual environment first
pythonw src/main_program.pyMethod 1: Shell Scripts
Same as the desktop version: ensure the virtual environment exists (run setup first). Then:
Windows:
bin\run_streamlit.batmacOS/Linux:
./bin/run_streamlit.shMethod 2: Direct Streamlit Command
streamlit run src/streamlit_app/app.pyMethod 3: Online Version
Access the hosted version at: https://regressionlab.streamlit.app/
If you installed RegressionLab via Git and use the Tkinter desktop app, the app checks for updates once a week when you open it. If a newer version is available, a dialog asks whether you want to update. If you confirm, the app runs git pull to update the code. Your input/, output/ folders and .env file are not modified.
You can disable this in Configure → Updates (CHECK_UPDATES=false in .env) or force a check every time (CHECK_UPDATES_FORCE=true). See the Configuration Guide for details.
cd RegressionLab
git pull origin main
# Update dependencies
pip install -r requirements.txt --upgradeDownload the latest version and repeat the installation process, or switch to the Git method for easier updates.
Error: 'python' is not recognized as an internal or external command
Solution:
- Ensure Python is installed and added to PATH.
- Try using
python3instead ofpython. - Reinstall Python and check "Add Python to PATH" during installation.
Error: Permission denied when running shell scripts
Solution:
chmod +x install.sh
chmod +x setup.sh
chmod +x bin/run.sh
chmod +x bin/run_streamlit.shError: ModuleNotFoundError: No module named 'numpy' (or other modules)
Solution:
- Ensure virtual environment is activated.
- Reinstall dependencies:
pip install -r requirements.txt. - Check that you're using the correct Python interpreter.
Error: Virtual environment activation fails
Solution Windows:
- Run PowerShell as Administrator
- Execute:
Set-ExecutionPolicy RemoteSigned - Try activating again
Solution macOS/Linux:
- Ensure
.venv/bin/activateexists - Check Python installation:
python3 --version
Error: fatal: unable to access 'https://github.com/...'
Solution:
- Check internet connection.
- Verify Git is installed:
git --version. - Try using HTTPS instead of SSH or vice versa.
To remove RegressionLab from your system:
- Delete the RegressionLab folder.
- Delete the desktop shortcut (if created).
- Remove the virtual environment (if created separately).
# macOS/Linux
rm -rf RegressionLab
rm ~/Desktop/RegressionLab.desktop
# Windows (Command Prompt)
rmdir /s RegressionLab
del %USERPROFILE%\Desktop\RegressionLab.lnkNow that RegressionLab is installed:
- Configure: Customize your settings in the Configuration Guide.
- Learn: Read the User Guide to understand how to use RegressionLab.
- Explore: Try the different operation modes with sample datasets in the
input/folder.
Having issues? Check the Troubleshooting Guide or open an issue on GitHub.


