I am using Aspose.TotalProductFamily for Python via .Net with a temporary license.
Initially, I installed aspose-diagram-python==26.1 to read vsdx file and export it to pdf which worked fine.
Later, I installed aspose-pdf==26.1.0 to read the exported pdf. However, post that the import statement for aspose.diagram is giving below error:
from aspose.diagram import *
AttributeError: module ‘aspose.pydrawing’ has no attribute ‘_C_APITV1_PointF’
The above exception was the direct cause of the following exception:
This error seems to occur because of a conflict between the shared underlying dependencies (aspose.pydrawing ) of aspose-diagram-python and aspose-pdf , which may arise when multiple Aspose packages are installed in the same environment using different wrapper versions. The error specifically highlights that aspose.pydrawing is missing a required attribute needed by aspose.diagram after aspose-pdf was installed.
Could you please try uninstalling both packages and then reinstall them together:
e.g.,
Alternatively, you may reinstall in reverse Order. Sometimes the installation order matters because the last package installed sets the version for the shared aspose.pydrawing module. Try uninstalling aspose-diagram-python and reinstalling it after aspose-pdf library.