Installation

Installation

This page explains how to install Aspose.Page FOSS for Python in your development environment.


Prerequisites

RequirementDetail
Python3.10 or later
pip22.0 or later (bundled with Python 3.10+)
Operating systemWindows, Linux, or macOS
External runtimeNone — 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     # Windows

Then 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")

Next Steps

See Also

 English