Installation

Installation

This page covers installing aspose-email-foss 26.3 into a Python project.


Prerequisites

RequirementDetail
Python3.10 or later (python --version to check)
pipIncluded with modern Python

Install via pip

pip install aspose-email-foss

Virtual Environment Setup

python -m venv .venv
source .venv/bin/activate   # Linux/macOS
# .venv\Scripts\activate    # Windows
pip install aspose-email-foss

Verify the Installation

from aspose.email_foss.msg import MapiMessage

msg = MapiMessage.create("Test subject", "Test body")
print(f"Subject: {msg.subject}")

If you see the subject printed without errors, the package is installed correctly.


Next Steps