# Installation Install GroupDocs.Merger for Python via .NET on Windows, Linux, or macOS — from PyPI or from pre-downloaded wheels, including Intel and Apple Silicon builds. {{< alert style="info" >}} Before installing, check the [System Requirements]({{< ref "merger/python-net/getting-started/system-requirements.md" >}}) for supported Python versions and platform dependencies. {{< /alert >}} ## Install Package from PyPI The library is published on [PyPI](https://pypi.org/project/groupdocs-merger-net/) as **`groupdocs-merger-net`**. `pip` automatically selects the right platform-specific wheel for your system. Each wheel is self-contained: it bundles the .NET runtime and every managed dependency, so no Microsoft Office, Adobe Acrobat or separate .NET install is required. `pip` also installs `groupdocs-shared-net`, a small package that holds the `groupdocs.pydrawing` and `groupdocs.pycore` modules every GroupDocs product shares. Installing needs pip 20.3 or later. ### Install the Latest Version {{< tabs "install-pypi">}} {{< tab "Windows" >}} ```ps py -m pip install groupdocs-merger-net ``` {{< /tab >}} {{< tab "Linux" >}} ```bash # ICU and fontconfig, which the engine needs (Debian / Ubuntu) sudo apt-get install -y libicu-dev libfontconfig1 python3 -m pip install groupdocs-merger-net ``` {{< /tab >}} {{< tab "macOS" >}} ```bash python3 -m pip install groupdocs-merger-net ``` {{< /tab >}} {{< /tabs >}} You should see output similar to: ```text Collecting groupdocs-merger-net Downloading groupdocs_merger_net-26.12.0-py3-none-win_amd64.whl (148.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 148.8/148.8 MB 3.1 MB/s Collecting groupdocs-shared-net>=26.11.0 (from groupdocs-merger-net) Downloading groupdocs_shared_net-26.11.0-py3-none-any.whl (12 kB) Installing collected packages: groupdocs-shared-net, groupdocs-merger-net Successfully installed groupdocs-merger-net-26.12.0 groupdocs-shared-net-26.11.0 ``` The Linux and macOS wheels are larger, 164-166 MB. The exact wheel name depends on your OS and CPU architecture — see the [wheel-suffix table]({{< ref "merger/python-net/getting-started/system-requirements.md#package-manager" >}}) in System Requirements for the complete list. ## Add the Package to `requirements.txt` Add the dependency to your project's `requirements.txt`: ```text groupdocs-merger-net ``` Then install from the file: ```bash pip install -r requirements.txt ``` Pin to a specific version if you need reproducible builds — for example, `groupdocs-merger-net==26.12.0`. ## Install from Pre-Downloaded Wheels For air-gapped or controlled environments, download the wheel for your platform from the [GroupDocs Releases](https://releases.groupdocs.com/merger/python-net/) site or the [PyPI release page](https://pypi.org/project/groupdocs-merger-net/#files), and `groupdocs_shared_net-26.11.0-py3-none-any.whl` from [PyPI](https://pypi.org/project/groupdocs-shared-net/#files) (or with `pip download groupdocs-shared-net==26.11.0` on a machine that can reach it). Four platform-specific wheels are published per release; pick the one that matches your host: - **Windows x86-64** — `groupdocs_merger_net-26.12.0-py3-none-win_amd64.whl` - **Linux x86-64** — `groupdocs_merger_net-26.12.0-py3-none-manylinux_2_27_x86_64.whl` (glibc 2.27 or newer) - **macOS Apple Silicon (ARM64)** — `groupdocs_merger_net-26.12.0-py3-none-macosx_12_0_arm64.whl` (macOS 12 or newer) - **macOS Intel (x86-64)** — `groupdocs_merger_net-26.12.0-py3-none-macosx_12_0_x86_64.whl` (macOS 12 or newer) Since 26.12 the file names state the oldest system each wheel runs on, so pip 20.3 or newer refuses an older one up front instead of installing a runtime that cannot start. Wheels up to 26.6 were tagged `manylinux1_x86_64`, `macosx_10_14_x86_64` and `macosx_11_0_arm64`. Put both wheels into one folder, for example `wheels`, and install from it without contacting PyPI: {{< tabs "install-wheel">}} {{< tab "Windows (64-bit)" >}} ```ps py -m pip install --no-index --find-links ./wheels groupdocs-merger-net ``` {{< /tab >}} {{< tab "Linux (glibc)" >}} ```bash python3 -m pip install --no-index --find-links ./wheels groupdocs-merger-net ``` {{< /tab >}} {{< tab "macOS" >}} ```bash python3 -m pip install --no-index --find-links ./wheels groupdocs-merger-net ``` {{< /tab >}} {{< /tabs >}} Expected output: ```text Looking in links: ./wheels Processing ./wheels/groupdocs_merger_net-26.12.0-py3-none-manylinux_2_27_x86_64.whl Processing ./wheels/groupdocs_shared_net-26.11.0-py3-none-any.whl (from groupdocs-merger-net) Installing collected packages: groupdocs-shared-net, groupdocs-merger-net Successfully installed groupdocs-merger-net-26.12.0 groupdocs-shared-net-26.11.0 ``` Installing the product wheel alone, without `groupdocs_shared_net`, makes pip look for it on PyPI. ## Verify the Installation Run the following one-liner to confirm the package is installed and importable: {{< tabs "verify-install" >}} {{< tab "Windows" >}} ```ps py -c "from groupdocs.merger import Merger; print('GroupDocs.Merger installed OK')" ``` {{< /tab >}} {{< tab "Linux / macOS" >}} ```bash python3 -c "from groupdocs.merger import Merger; print('GroupDocs.Merger installed OK')" ``` {{< /tab >}} {{< /tabs >}} You should see: ```text GroupDocs.Merger installed OK ``` The package also installs the `groupdocs-merger` command, which merges, splits, extracts and removes pages from the command line. Check it with: ```bash groupdocs-merger --version ``` ```text groupdocs-merger 26.12.0 ``` ## Next Steps - Follow the [Quick Start Guide]({{< ref "merger/python-net/getting-started/quick-start-guide" >}}) to merge your first document in under five minutes. - Clone the [examples repository](https://github.com/groupdocs-merger/GroupDocs.Merger-for-Python-via-.NET) and read [How to Run Examples]({{< ref "merger/python-net/getting-started/how-to-run-examples.md" >}}) to try every documented scenario locally. - If you work with AI agents or LLMs, see [Agents and LLM Integration]({{< ref "merger/python-net/agents-and-llm-integration" >}}) for MCP and `AGENTS.md` integration details.