I’m running the below code while I am learning python with mlb stats api installed.
import pandas as pd
from pandas import DataFrame
import statsapi
box_score = statsapi.boxscore(565997)
print(box_score)
I’m getting an error that I am unable to locate issuer certificate SSL when trying to access this, update conda or just about anything else. I’ve tried upgrading certifi, I’ve also seen to use ssl_verify .crt but can’t find my crt (I’ve also seen similar comments about a .pem)
I’m very new to this so any help would be great. Thanks!
As above, I’ve tried to verify = false but don’t want to continue with that due to safety concerns.
Mmcmanu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.