ImportError: cannot import name 'iteritems' from 'six' (unknown location)

Hello guys,
I'm new in python SDK, well in general I'm new in python as well :slight_smile:.
I'm trying to run a test script...but I already have the issue below:

Traceback (most recent call last):
File "C:\inetpub\wwwroot\GenesysPureCloudTest\index.py", line 8, in
import PureCloudPlatformClientV2
File "C:\Users\801732\AppData\Local\Programs\Python\Python310\lib\PureCloudPlatformClientV2_init_.py", line 4, in
from .models.adfs import ADFS
File "C:\Users\801732\AppData\Local\Programs\Python\Python310\lib\PureCloudPlatformClientV2\models_init_.py", line 4, in
from .adfs import ADFS
File "C:\Users\801732\AppData\Local\Programs\Python\Python310\lib\PureCloudPlatformClientV2\models\adfs.py", line 24, in
from six import iteritems
ImportError: cannot import name 'iteritems' from 'six' (unknown location)

Do you have some suggestions?
Thank you so much in advance for your help
Davide

Hi,

Could you send your code (Minus any sensitive info)?

Regards,
Declan

Looks it is problem with install of dependencies. six is one of the essential dependencies
Its likely that that install didnt happen correctly.
Can you follow the page insta and see if it works. Also you can provide the code you are using in your test script as Declan mentioned.

Hello,
thank you so much for the quick reply.
Well I was trying to test the following script:

Please let me know
Thanks
Davide

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.