Installation
Installation
This page explains how to install Aspose.Page FOSS for Python in your development environment.
Prerequisites
| Requirement | Detail |
|---|---|
| Python | 3.10 or later |
| pip | 22.0 or later (bundled with Python 3.10+) |
| Operating system | Windows, Linux, or macOS |
| External runtime | None — no Ghostscript or Adobe required |
Install with pip
Run the following command to install the library:
asposefoss/page is not yet published — build from source until it ships. See the project README for build instructions.To install into a virtual environment (recommended):
python -m venv .venv
source .venv/bin/activate # Linux/macOS
.venv\Scripts\activate # WindowsThen run the same install command shown above inside the activated virtual environment.
Verify the installation
Import the library and check that it loads without errors:
from aspose.page.ps.document import PsDocument
from aspose.page.xps.document import XpsDocument
print("Aspose.Page FOSS installed successfully")