Installation

Installation

Install Aspose.Words FOSS for Python to start converting Word documents to PDF, Markdown, and plain text.


Prerequisites

RequirementDetail
Python3.10, 3.11, or 3.12
pipLatest recommended
OSWindows, macOS, Linux

Step 1: Install the Package

Run the following command to install the library and its dependencies (olefile, fpdf2, pydantic):

pip install aspose-words-foss>=26.4.0

Step 2: Verify the Installation

Open a Python shell and confirm the package loads without errors:

import aspose.words_foss as aw
print("Aspose.Words FOSS installed successfully")

Step 3: Run a Quick Conversion

Load a Word document and convert it to PDF to confirm everything works:

import aspose.words_foss as aw

doc = aw.Document("input.docx")
doc.save("output.pdf", aw.SaveFormat.PDF)

Next Steps

  • License — review the MIT license terms
  • Core Management — learn how to convert documents to PDF, Markdown, and plain text