Having a certificate issue each time I try to run the below code in a Jupyter Notebook:
from roboflow import Roboflow
rf = Roboflow(api_key=“YOUR API KEY”)
project = rf.workspace(“YOUR-WORKSPACE”).project(“YOUR-PROJECT”)
dataset = project.version(1).download(“yolov7”)
Here’s the error message I get:
requests.exceptions.SSLError: HTTPSConnectionPool(host=‘api.roboflow.com’, port=443): Max retries exceeded with url: /?api_key=dUNehdeJFyYQ1l5x6spo (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)')))
Here’s the message I get upon adjusting the certifi version to 2022.12.7 (which should work with the Roboflow API):
ERROR: pip’s dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
roboflow 1.1.0 requires certifi==2022.12.7, but you have certifi 2023.5.7 which is incompatible.
Any thoughts?
- Project Type: Object Detection
- Operating System & Browser: macOS (Ventura 13.4.1)
- Project Link: Accessible Train Station Object Detection Dataset and Pre-Trained Model by MITRE