I have installed the aspose PDF SDK for python using pip install asposepdfcloud
. I am getting the following error while importing the modules.
Error :
from asposepdfcloud.PdfApi import PdfApi
File “/usr/local/lib/python2.7/site-packages/asposepdfcloud/PdfApi.py”, line 9, in
from ApiClient import ApiException
File “/usr/local/lib/python2.7/site-packages/asposepdfcloud/ApiClient.py”, line 222
for key, val in obj.dict.iteritems()
SyntaxError: invalid syntax
I am using Python 2.6
Can anyone please confirm if this python SDK works only for Python 2.7 or lower versions of python as well?