jeudi 13 août 2015

Running Python script with oauth2 via matlab

I'm trying to run a Python script that updates a Google spreadsheet with values calculated with Matlab. I'm using the gspread 1 API, which uses oauth2. Running straight Python, I'm able to download and modify spreadsheets without a problem. When I try to run the script in Matlab, I get the following error when I try to authorize the credentials:

Python Error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)

Any ideas about what I could do to solve this? I suppose the workaround would be to just save the data from Matlab and import the .mat file into Python.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire