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

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