Influx 2.0 Cloud first try to upload data from Python

I have tried to load up my first data to Influx 2.0 Cloud from Python. are using an example I found in this WEB page https://docs.influxdata.com/influxdb/cloud/api-guide/client-libraries/python/. I have as well tried to follow to step by step Python exanle within teh Cloud InfluxDB.

I am using Jupyter with Python 3.7 installed, running on a MACBOOK.

I have tried several scenarios in addition to thw two mentioned above but I get the following code after this statement :
write_api.write(bucket=bucket, org=org, record=point)


ApiException: (0)
Reason: SSLError
[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1076)

Hi @Luhrern,

it looks like that python doesn’t have access to the certifications keychain.

Try to install certifi by:

pip install --upgrade certifi

Regards

Dear Bednar

Thank you for you reply.
I have tried you suggestion, but I still get the same problem.

Other option is to use the Install Certificates.command which is bundled with your python distribution. See: python - certificate verify failed: unable to get local issuer certificate - Stack Overflow