You should explicitly pin the versions of libraries you use, and not import private, vendored libraries from your dependencies. This line must be changed to import the normal `requests` library, and also add a version of requests as an explicit dependency: https://github.com/AuthorizeNet/sdk-python/blob/e2c7c9ebcd97b8e225245886588b306e17ddcffc/authorizenet/apicontrollersbase.py#L11 This issue is related to #97.