Before installing, check the System Requirements for supported Python versions and platform dependencies.
Install Package from PyPI
The library is published on PyPI as groupdocs-viewer-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.
The Linux and macOS wheels are larger, 185-190 MB.
The exact wheel name depends on your OS and CPU architecture — see the wheel-suffix table in System Requirements for the complete list.
Add the Package to requirements.txt
Add the dependency to your project’s requirements.txt:
groupdocs-viewer-net
Then install from the file:
pip install -r requirements.txt
Pin to a specific version if you need reproducible builds — for example, groupdocs-viewer-net==26.11.0.
Install from Pre-Downloaded Wheels
For air-gapped or controlled environments, download the wheel for your platform from the GroupDocs Releases site or the PyPI release page, and groupdocs_shared_net-26.11.0-py3-none-any.whl from PyPI (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_viewer_net-26.11.0-py3-none-win_amd64.whl
Linux x86-64 — groupdocs_viewer_net-26.11.0-py3-none-manylinux_2_27_x86_64.whl (glibc 2.27 or newer)
macOS Apple Silicon (ARM64) — groupdocs_viewer_net-26.11.0-py3-none-macosx_12_0_arm64.whl (macOS 12 or newer)
macOS Intel (x86-64) — groupdocs_viewer_net-26.11.0-py3-none-macosx_12_0_x86_64.whl (macOS 12 or newer)
Since 26.9 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.5 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: