No module named 'aspose'

Hello,

I’m a new Aspose user and attempting to test out the examples given here: GitHub - aspose-email/Aspose.Email-Python-Dotnet: Aspose.Email for Python via .NET Examples: https://products.aspose.com/email/python-net

I’ve followed the steps given here for installation using the .whl file: Installation|Documentation Might be worth noting that this is within a virtual environment.

When attempting to run RunExamples.py, I get the error in the screenshot attached:
aspose.png (11.5 KB)

@BlackFiber

Can you please explain which Python version you are using as Aspose.Email supports up to Python 3.7. Can you please consider upgrading the PIP version too. I have used the Python 3.7 and PIP 21.01 on my end to use Aspose.Email for Python via .NET Github examples. There is no issue on my end. I installed the latest version of Aspose.Email for Python via .NET using following command.

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

image.png (2.9 KB)

Thanks for the reply!

I’ve upgraded PIP to 21.0.1 and included my Python version (3.7.9). Still getting the same error.

aspose2.png (17.9 KB)

@Pablo

Can you please try Python 3.7.0 as last version supported by API is 3.7.0.

Installing 3.7.0 seems to have worked.

Thank you!

@Pablo

That’s great to hear. Please share, if I may help you further in this regard.