davide.graziani | 2023-11-08 17:12:37 UTC | #1
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 <module> import PureCloudPlatformClientV2 File "C:\Users\801732\AppData\Local\Programs\Python\Python310\lib\PureCloudPlatformClientV2_init_.py", line 4, in <module> from .models.adfs import ADFS File "C:\Users\801732\AppData\Local\Programs\Python\Python310\lib\PureCloudPlatformClientV2\models_init_.py", line 4, in <module> from .adfs import ADFS File "C:\Users\801732\AppData\Local\Programs\Python\Python310\lib\PureCloudPlatformClientV2\models\adfs.py", line 24, in <module> 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
Declan_ginty | 2023-11-08 17:16:07 UTC | #2
Hi,
Could you send your code (Minus any sensitive info)?
Regards, Declan
Hemanth | 2023-11-08 17:38:05 UTC | #3
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.
davide.graziani | 2023-11-09 08:52:50 UTC | #4
Hello, thank you so much for the quick reply. Well I was trying to test the following script: https://github.com/MyPureCloud/quick-hits-python/blob/main/analytics/real-time-queue-observation-query/index.py Please let me know Thanks Davide
system | 2023-12-10 08:52:56 UTC | #5
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 23004