Install GroupDocs.Redaction for Python via .NET

GroupDocs.Redaction for Python via .NET is distributed as a pre-built wheel on PyPI. The PyPI index hosts a separate wheel for each supported platform, and pip picks the correct one automatically. Each wheel is self-contained: it bundles the embedded runtime and every managed dependency, so no Microsoft Office, OpenOffice, Adobe Acrobat, or separate runtime install is required.

Before installing, confirm your environment matches the supported platforms and Python versions listed in the System Requirements topic.

Install Package from PyPI

Open a terminal and run the install command for your platform:

py -m pip install groupdocs-redaction-net
python3 -m pip install groupdocs-redaction-net
python3 -m pip install groupdocs-redaction-net

After running the command you should see output similar to:

Collecting groupdocs-redaction-net
  Downloading groupdocs_redaction_net-26.6.0-py3-none-win_amd64.whl.metadata (3.0 kB)
  Downloading groupdocs_redaction_net-26.6.0-py3-none-win_amd64.whl (40.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.0/40.0 MB 2.8 MB/s eta 0:00:00
Installing collected packages: groupdocs-redaction-net
Successfully installed groupdocs-redaction-net-26.6.0

The wheel file name will include a platform suffix that matches your operating system — for example manylinux1_x86_64 on Ubuntu/Debian, macosx_11_0_arm64 on Apple Silicon, or win_amd64 on 64-bit Windows.

Add the Package to requirements.txt

For reproducible environments, pin the package version in your requirements.txt:

groupdocs-redaction-net==26.6.0

Then install all dependencies in one step:

pip install -r requirements.txt

Install from a Pre-Downloaded Wheel

If your build environment cannot reach PyPI, download the appropriate wheel from the GroupDocs Releases website and install it locally. Wheels are published for the following four platforms:

  • Windows 64-bit: file name ends with win_amd64.whl
  • Linux x64 (glibc): file name ends with manylinux1_x86_64.whl
  • macOS Intel: file name ends with macosx_10_14_x86_64.whl
  • macOS Apple Silicon: file name ends with macosx_11_0_arm64.whl

Place the downloaded wheel into your project folder, then install it:

py -m pip install ./groupdocs_redaction_net-26.6.0-py3-none-win_amd64.whl
python3 -m pip install ./groupdocs_redaction_net-26.6.0-py3-none-manylinux1_x86_64.whl
python3 -m pip install ./groupdocs_redaction_net-26.6.0-py3-none-macosx_10_14_x86_64.whl
python3 -m pip install ./groupdocs_redaction_net-26.6.0-py3-none-macosx_11_0_arm64.whl

Expected output:

Processing ./groupdocs_redaction_net-26.6.0-py3-none-*.whl
Installing collected packages: groupdocs-redaction-net
Successfully installed groupdocs-redaction-net-26.6.0

Platform Prerequisites

On Windows no extra steps are required. On Linux and macOS, install the native libraries the rendering engine depends on:

apt install libgdiplus libfontconfig1 libicu-dev ttf-mscorefonts-installer
brew install mono-libgdiplus
Warning
In version 26.6.0, rasterization to PDF and image-area redaction run only on Windows — on Linux/macOS they raise System.PlatformNotSupportedException, and the native packages above do not lift that restriction. Text, metadata, annotation, and page redaction and original-format saves work on every platform. See System Requirements for the full feature-support matrix.

Verify the Installation

Confirm the package imported correctly and check the installed version:

python -c "import groupdocs.redaction; print('GroupDocs.Redaction is ready')"

You can also list the installed package with pip show groupdocs-redaction-net to confirm the version and location.

Next Steps