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 from PyPI:
pip install aspose-page-foss>=0.1.0To install into a virtual environment (recommended):
python -m venv .venv
source .venv/bin/activate # Linux/macOS
.venv\Scripts\activate # Windows
pip install aspose-page-foss>=0.1.0Verify 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")