I followed the instructions for installing localstack running the following command:
`python3 -m pip install localstack`

Then, I ran localstack:
`python3 -m localstack.cli.main`

Which throws the following error:
`ImportError: cannot import name 'Literal' from 'typing' (/usr/lib64/python3.7/typing.py)`
os.path.exists("/sys/fs/cgroup/docker/"),
                any(
                    "docker-" in file_names
                    for file_names in os.listdir("/sys/fs/cgroup/system.slice/")
                ),
            ]
        ):
            return False
    except Exception:
        pass
    with open("/proc/1/cgroup", "rt") as ifh:
        content = ifh.read()
        if "docker" in content:
            return True
        os_hostname = socket.gethostname()
        if os_hostname and os_hostname in content:
            return True
    return False
OVERRIDE_IN_DOCKER = is_env_true("OVERRIDE_IN_DOCKER")
is_in_docker = in_docker()
is_in_linux = is_linux()
CONFIG_PROFILE = os.environ.get("CONFIG_PROFILE", "").strip()
CONFIG_DIR = os.environ.get("CONFIG_DIR", os.path.expanduser("~/.localstack"))
try:
    load_environment(CONFIG_PROFILE)
except ImportError:
    
    pass
if "DEFAULT_REGION" not in os.environ:
    os.environ["DEFAULT_REGION"] = os.environ.get("AWS_DEFAULT_REGION") or AWS_REGION_US_EAST_1