Installation
Installation of Aspose.Cells FOSS for Python
Aspose.Cells FOSS for Python is distributed as a standard Python package on PyPI under the name aspose-cells-foss. The recommended installation method is pip, which handles all dependencies automatically.
1. pip (Recommended)
pip is the standard way to install Aspose.Cells FOSS for Python. No additional tools or build steps are required.
Install the latest version:
pip install aspose-cells-fossInstall a specific version:
pip install aspose-cells-foss==26.3.0Upgrade an existing installation:
pip install --upgrade aspose-cells-foss2. Virtual Environment (Recommended for Projects)
Using a virtual environment isolates your project dependencies from the system Python installation.
Create and activate a virtual environment:
##Create
python -m venv .venv
##Activate on Linux/macOS
source .venv/bin/activate
##Activate on Windows
.venv\Scripts\activate
##Install
pip install aspose-cells-foss3. Verify the Installation
After installing, run the following snippet to confirm the library loads correctly:
from aspose.cells_foss import Workbook, Cell
workbook = Workbook()
workbook.worksheets[0].cells["A1"].value = "Installation verified!"
workbook.save("verify.xlsx")
print("Aspose.Cells FOSS for Python is installed correctly.")If the file verify.xlsx is created without errors, the installation is complete.
4. System Requirements
| Requirement | Details |
|---|---|
| Python version | 3.7 or later (3.9–3.13 recommended) |
| Operating system | Windows x86/x64, Linux (Ubuntu, CentOS, etc.), macOS x64/ARM64 |
| Microsoft Office | Not required |
| pip dependencies | pycryptodome>=3.15.0, olefile>=0.46 (auto-installed) |
5. Package Name vs. Import Name
| Context | Name |
|---|---|
| PyPI / pip install | aspose-cells-foss |
| Python import | from aspose.cells_foss import ... |
The pip package name uses a hyphen (aspose-cells-foss) while the Python import uses dot notation (aspose.cells_foss). This follows the namespace package convention.
6. Plugin Installation
markitdown-aspose-cells-plugin
Extends Microsoft’s MarkItDown library with support for XLSX, XLS, and ODS formats:
pip install markitdown-aspose-cells-pluginUsage:
from markitdown import MarkItDown
md = MarkItDown(enable_plugins=True)
result = md.convert("spreadsheet.xlsx")
print(result.text_content) # Spreadsheet data as Markdown tablesAdditional Resources
- Aspose.Cells FOSS for Python: PyPI
- GitHub Repository
- Aspose.Cells FOSS for Python: Developer Guide
- Aspose.Cells FOSS for Python: API Reference
- Knowledge Base: Task-oriented how-to guides
- Product Overview: Features and capabilities summary
- Blog: Introducing Aspose.Cells FOSS: Library overview and quick start
- Free Support Forum