YD
07/14/2023, 4:27 PMssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate
any suggestions on how to solve this issue ?
code:
from prefect import flow, task
@task()
def task_one(x):
return x * 2
@flow()
def my_func():
x = 5
r = task_one.submit(x)
return r.result()
y = my_func()
print(y)
returns
...
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)
09:57:22.768 | INFO | Flow run 'caped-kittiwake' - Finished in state Completed()