AttributeError: 'NoneType' object has no attribute 'connection_pool'

See also Sentry upgrade fails using python install