The latest version of Python Word SDK does not support Python 2.7
We tested the cloud solution (Word Cloud) with Python3, and everything worked fine.
But when testing with Python 2.7 (most of our codebase is still 2.7 legacy), we found that we were unable to follow the process mentioned in the docs. (here)
For example, while trying to create a blank document, we get the following error
image.png (116.3 KB)
File "C:\Python27\lib\site-packages\asposewordscloud\api_client.py", line 40, in <module> from urllib.parse import urlencode ImportError: No module named parse
We are using SDK version 20.11.0, the latest installed through pip.
We believe that this is because the SDK is incompatible with Python 2.7 (looking for urllib.parse.urlencode (
from urllib.parse import urlencode) where it should using
from urllib import urlencode probably with a
try-except for python2 and python3 compatibility)
image.png (16.1 KB)
Can you please take a look and help us resolve this issue so that we can continue our tests and proof-of-concept?
If you need more information, please let us know.