I am getting this error while trying to get the analytics report using python script.I have don exacly the same in "https://developers.google.com/analytics/devguides/reporting/core/v3/quickstart/service-py".
File "HelloAnalytics.py", line 108, in <module>
main()
File "HelloAnalytics.py", line 102, in main
service_account_email)
File "HelloAnalytics.py", line 31, in get_service
service_account_email, key_file_location, scopes=scope)
File "/usr/local/lib/python2.7/dist-packages/oauth2client/service_account.py", line 334, in from_p12_keyfile
token_uri=token_uri, revoke_uri=revoke_uri)
File "/usr/local/lib/python2.7/dist-packages/oauth2client/service_account.py", line 291, in _from_p12_keyfile_contents
private_key_password)
File "/usr/local/lib/python2.7/dist-packages/oauth2client/_openssl_crypt.py", line 116, in from_string
pkey = crypto.load_privatekey(crypto.FILETYPE_PEM, parsed_pem_key)
OpenSSL.crypto.Error: [('PEM routines', 'PEM_read_bio', 'no start line')]
google-api-python-client. something to do with thesixmodule. - Matt