I have a bit of code that connects fine with the paho mqtt client from my OSX bash shell. When I attempt to run the same code directly from within PyCharm, I receive the error below - the exception seems to happen within wrap_socket.
I'm new to these tools, but I believe that both environments are pulling Python 2.7.11 from /usr/bin/python (from a homebrew installation).
I'm wondering if someone can suggest what differences I should be looking for that would explain this behavior.
[SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:590)