Traceback (most recent call last):


 "/usr/bin/sphinx-build", line 14, in <module>

from sphinx import main
ImportError: cannot import name 'main'

Traceback (most recent call last):


 "/usr/local/bin/sam", line 33, in <module>

sys.exit(load_entry_point('aws-sam-cli==1.2.0', 'console_scripts', 'sam')())


 "/usr/local/bin/sam", line 25, in importlib_load_entry_point

return next(matches).load()


 "/usr/local/Cellar/aws-sam-cli/1.2.0/libexec/lib/python3.7/site-packages/importlib_metadata/__init__.py", line 105, in load

module = import_module(match.group('module'))


 "/usr/local/Cellar/aws-sam-cli/1.2.0/libexec/lib/python3.7/importlib/__init__.py", line 127, in import_module

return _bootstrap._gcd_import(name[level:], package, level)


 "<frozen importlib._bootstrap>", line 1006, in _gcd_import


 "<frozen importlib._bootstrap>", line 983, in _find_and_load


 "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked


 "<frozen importlib._bootstrap>", line 677, in _load_unlocked


 "<frozen importlib._bootstrap_external>", line 728, in exec_module


 "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed


 "/usr/local/Cellar/aws-sam-cli/1.2.0/libexec/lib/python3.7/site-packages/samcli/cli/main.py", line 10, in <module>

from samcli.lib.telemetry.metrics import send_installed_metric


 "/usr/local/Cellar/aws-sam-cli/1.2.0/libexec/lib/python3.7/site-packages/samcli/lib/telemetry/metrics.py", line 11, in <module>

from samcli.cli.context import Context


 "/usr/local/Cellar/aws-sam-cli/1.2.0/libexec/lib/python3.7/site-packages/samcli/cli/context.py", line 8, in <module>

import boto3


 "/usr/local/Cellar/aws-sam-cli/1.2.0/libexec/lib/python3.7/site-packages/boto3/__init__.py", line 16, in <module>

from boto3.session import Session


 "/usr/local/Cellar/aws-sam-cli/1.2.0/libexec/lib/python3.7/site-packages/boto3/session.py", line 17, in <module>

import botocore.session


 "/usr/local/Cellar/aws-sam-cli/1.2.0/libexec/lib/python3.7/site-packages/botocore/session.py", line 30, in <module>

import botocore.credentials


 "/usr/local/Cellar/aws-sam-cli/1.2.0/libexec/lib/python3.7/site-packages/botocore/credentials.py", line 34, in <module>

from botocore.config import Config


 "/usr/local/Cellar/aws-sam-cli/1.2.0/libexec/lib/python3.7/site-packages/botocore/config.py", line 16, in <module>

from botocore.endpoint import DEFAULT_TIMEOUT, MAX_POOL_CONNECTIONS


 "/usr/local/Cellar/aws-sam-cli/1.2.0/libexec/lib/python3.7/site-packages/botocore/endpoint.py", line 22, in <module>

from botocore.awsrequest import create_request_object


 "/usr/local/Cellar/aws-sam-cli/1.2.0/libexec/lib/python3.7/site-packages/botocore/awsrequest.py", line 25, in <module>

import botocore.utils


 "/usr/local/Cellar/aws-sam-cli/1.2.0/libexec/lib/python3.7/site-packages/botocore/utils.py", line 32, in <module>

import botocore.httpsession


 "/usr/local/Cellar/aws-sam-cli/1.2.0/libexec/lib/python3.7/site-packages/botocore/httpsession.py", line 8, in <module>

from urllib3.util.ssl_ import (
ImportError: cannot import name 'ssl' from 'urllib3.util.ssl_' (/usr/local/Cellar/aws-sam-cli/1.2.0/libexec/lib/python3.7/site-packages/urllib3/util/ssl_.py)
