7374756666

Fixing ERROR! Unexpected Exception, this is probably a bug: 'module' object has no attribute 'SSL_ST_INIT' after upgrading user install of ansible

I use pip install --user ansible and pip install --user --upgrade ansible to install and upgrade ansible. After doing so I have to run rm -r ~/.local/lib/python2.7/site-packages/{urllib3,requests}* otherwise ansible will throw the error ERROR! Unexpected Exception, this is probably a bug: 'module' object has no attribute 'SSL_ST_INIT'

This works on Ubuntu 16.04 YMMV on other OS.