Skip to content

Installation Guide for LabChain

This guide will walk you through the process of installing LabChain using pip.

Prerequisites

Before installing LabChain, ensure you have the following prerequisites:

  1. Python 3.11 or higher
  2. pip (Python package installer)

Installation

Installing LabChain is straightforward using pip. Follow these steps:

It's recommended to use a virtual environment to avoid conflicts with other Python projects:

python -m venv venv

Activate the virtual environment:

  • On Windows:
    venv\Scripts\activate
    
  • On macOS and Linux:
    source venv/bin/activate
    

Step 2: Install LabChain

Install LabChain directly from PyPI using pip:

pip install framework3

This command will install the latest stable version of LabChain and all its dependencies.

Verify Installation

To verify that LabChain is installed correctly, you can run a simple Python script:

from labchain import __version__

print(f"LabChain version: {__version__}")

If this runs without errors and prints the version number, the installation was successful.

Updating LabChain

To update LabChain to the latest version, simply run:

pip install --upgrade framework3

Troubleshooting

If you encounter any issues during installation:

  1. Ensure your Python version is 3.11 or higher.
  2. Make sure pip is up to date: pip install --upgrade pip
  3. If you're using a virtual environment, ensure it's activated when installing and using LabChain.

For more detailed error messages, you can use the verbose mode when installing:

pip install -v framework3

If problems persist, please check the project's issue tracker on GitHub or reach out to the maintainers for support.

Next Steps

Now that you have LabChain installed, you can start using it in your projects. Check out the Quick Start Guide for an introduction to using LabChain, or explore the API Documentation for more detailed information on available modules and functions.