Workarounds for macOS problem with python ssl module.
Python again fails to find ssl module.
On a 10.14 system, the problem doesn't occur if ssl is imported before email.parser, which is imported but pkg_resources. And pgk_resources is imported by girder_client.