--- last_review: "2026-05-07" last_reviewer: "s.kaviani" documented_code: [ ] --- ```{tags} user, how-to ``` % Issue: https://gitlab.indiscale.com/caosdb/src/linkahead-docs/-/issues/72 # Setting Up PyLinkAhead This guide covers installing and configuring PyLinkAhead, the Python client for LinkAhead. ## Installation First ensure that Python (at least version 3.10) is installed. If it is not yet installed, follow the [Installing Python](#installing-python) section for your OS. It is recommended to install PyLinkAhead inside a virtual environment: ```sh python3 -m venv venv source venv/bin/activate # on Windows: venv\Scripts\activate ``` Then install the client using `pip`: ```sh pip install linkahead ``` ### Installing Python #### Linux Make sure that Python (at least version 3.10) and pip are installed using your system's package manager, then continue with the [Installation](#installation) section above. #### Windows If a Python distribution is not yet installed, download and install it from [python.org](https://www.python.org/downloads/), or install a recent Python version from the Microsoft Store. After installation, open a command or PowerShell prompt and continue with the [Installation](#installation) section above. #### MacOS If Python 3 is not yet installed, download it from [python.org](https://www.python.org/downloads/) or install via [Homebrew](https://brew.sh/). After installing from python.org, update the TLS certificates (replace the version number with yours): ```sh cd /Applications/Python\ 3.x/ sudo ./Install\ Certificates.command ``` Then continue with the [Installation](#installation) section above. ## Configuration PyLinkAhead reads connection settings (server URL, credentials, and SSL options) from an `ini` configuration file. See the [PyLinkAhead Configuration Reference](/reference/pylib/configuration.md) for all available options, or the [How to Configure PyLinkAhead](/how_to/dev_guides/pylib/configure_pylinkahead.md) guide for step-by-step authentication and SSL setup. ## Next Steps Once installed and configured, continue with the [Python client tutorials](/tutorial/scripting/pylib/index.md). For development and contribution instructions, see the [PyLinkAhead Development Guide](/how_to/dev_guides/pylib/development.md).