"My attention span is so poor today that my train of thought is now a replacement bus service."
I was doing some work with Twitter Bootstrap 4 yesterday. It's amazing how many differences there are with Bootstrap 3 - it's changed a lot! All my old knowledge has gone out the window. I quite like it though - it does feel a little simpler.
The solution to this is that the cacerts.txt file in the Python installation is only readable to the root user / wheel group. In order to fix that up, first find the cacerts.txt file:
ssl.SSLError: [Errno 185090050] _ssl.c:343: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib
Then modify the permissions on the file:
find /Library/Python/ -name cacerts.txt
Note that the URL endpoints for twitter on the python-oauth2 Github page are currently wrong. To use the "Twitter Three-legged OAuth Example" change http://twitter.com/oauth/request_token to https://api.twitter.com/oauth/request_token, etc.
sudo chmod 644 /Library/Python//2.7/site-packages/httplib2-0.7.7-py2.7.egg/httplib2/cacerts.txt