aspose-words / Aspose.Words-for-Python-via-.NET

Aspose.Words for Python via .NET examples and showcases
MIT License
104 stars 22 forks source link

import error #32

Open nicosouth opened 1 year ago

nicosouth commented 1 year ago

when i install the package(aspose-words) and then run this code:

import aspose.words as aw

ImportError: unable to import module dependencies. Cannot import the aspose.pydrawing module.

I think it is because the version of aspose.pydrawing is low. So i want to upgrade the version of aspose.pydrawing. But i find that the aspose.pydrawing package can not be updated separately.

AlexNosk commented 1 year ago

@nicosouth Yes, you are right, there is no way to update aspose.pydrawing package separately. The problem on your side might occur because you are using several Aspose packages and different versions of wrapper generator were used for creating Aspose packages. We are working on resolving this problem. For now you can try reinstalling the package that was created by the most recent version of wrapper generator. On my side the following helped:

pip uninstall Aspose.Email-for-Python-via-NET

and then

pip install Aspose.Email-for-Python-via-NET