bitly-api-python icon indicating copy to clipboard operation
bitly-api-python copied to clipboard

error setting certificate verify locations

Open AllenDowney opened this issue 8 years ago • 0 comments

I ran

pip install bitly_api

then I downloaded

https://github.com/bitly/bitly-api-python/blob/master/test/test_bitly_api.py

I set the environment variable BITLY_ACCESS_TOKEN to my access token and then ran

nosetests

All tests fail and report

BitlyError: (77, 'error setting certificate verify locations:\n  CAfile: /etc/pki/tls/certs/ca-bundle.crt\n  CApath: none')

I assume the problem is related to OAuth, but I don't know how to fix it. Thanks for any help.

AllenDowney avatar Feb 22 '17 19:02 AllenDowney