Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
JackPrendergast
Advisor
Advisor

Python Tool - Export/Import

Hi all,

 

I have used this tool succesfully before, but now for some reason its not working for me.

 

Can anyone point out why I am getting this no matter what when I try to run? 

Traceback (most recent call last):
File "import_export_package.py", line 39, in <module>
payload=payload)
File "C:\Python27\lib\site-packages\cpapi\mgmt_api.py", line 169, in login
login_res = self.api_call("login", credentials)
File "C:\Python27\lib\site-packages\cpapi\mgmt_api.py", line 242, in api_call
self.check_fingerprint()
File "C:\Python27\lib\site-packages\cpapi\mgmt_api.py", line 547, in check_fingerprint
server_fingerprint = self.get_server_fingerprint()
File "C:\Python27\lib\site-packages\cpapi\mgmt_api.py", line 439, in get_server_fingerprint
context = ssl.create_default_context()
AttributeError: 'module' object has no attribute 'create_default_context'

0 Kudos
0 Replies

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    Tue 23 Apr 2024 @ 11:00 AM (EDT)

    East US: What's New in R82

    Thu 25 Apr 2024 @ 11:00 AM (SGT)

    APAC: CPX 2024 Recap

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82

    Tue 23 Apr 2024 @ 11:00 AM (EDT)

    East US: What's New in R82

    Thu 25 Apr 2024 @ 11:00 AM (SGT)

    APAC: CPX 2024 Recap

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82
    CheckMates Events