Our project goal is to modify the shapes in the excel sheets.
Steps followed:
Installed .Net 8.0.414
Installed pythonnet 3.0.5
Installed Aspose.Cells_25.9
Added reference to Downloads\Aspose.Cells_25.9\net8.0-windows\Aspose.Cells.dll
When I import Aspose.Cells as next step, seeing the below error.
Getting ModuleNotFoundError: No module named ‘Aspose’.
Screenshot attached below:
Screenshot 2025-09-23 150730.png (94.9 KB)
Please help.
@sukes001,
Thank you for sharing the screenshot and details. The error ModuleNotFoundError: No module named 'Aspose' occurs because you are attempting to import Aspose.Cells (a .NET assembly) into Python using pythonnet. Kindly note that Aspose.Cells.dll is a .NET assembly and not a native Python module. To work with it in Python, you will need to install and use Aspose.Cells for Python via .NET. For further guidance, please refer to the documentation on System Requirements and the steps to install and use Aspose.Cells for Python via .NET API: Getting Started|Documentation
Should you have any additional questions or comments, please feel free to reach out.