Traceback (most recent call last):


 "/usr/local/bin/amazon-dash", line 6, in <module>

catch(cli)()


 "/usr/local/lib/python2.7/dist-packages/amazon_dash/exceptions.py", line 91, in wrap

return fn(*args, **kwargs)


 "/usr/local/lib/python2.7/dist-packages/click/core.py", line 764, in __call__

return self.main(*args, **kwargs)


 "/usr/local/lib/python2.7/dist-packages/click/core.py", line 717, in main

rv = self.invoke(ctx)


 "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1137, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "/usr/local/lib/python2.7/dist-packages/click/core.py", line 956, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/usr/local/lib/python2.7/dist-packages/click/core.py", line 555, in invoke

return callback(*args, **kwargs)


 "/usr/local/lib/python2.7/dist-packages/amazon_dash/management.py", line 109, in check_config

from amazon_dash.config import check_config


 "/usr/local/lib/python2.7/dist-packages/amazon_dash/config.py", line 7, in <module>

from jsonschema import validate, ValidationError


 "/usr/local/lib/python2.7/dist-packages/jsonschema/__init__.py", line 12, in <module>

from jsonschema.exceptions import (


 "/usr/local/lib/python2.7/dist-packages/jsonschema/exceptions.py", line 141, in <module>

@attr.s(hash=True)
AttributeError: 'module' object has no attribute 's'`

Traceback (most recent call last):


 "/miniconda/envs/custom_env/lib/python3.7/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker

worker.init_process()


 "/miniconda/envs/custom_env/lib/python3.7/site-packages/gunicorn/workers/ggevent.py", line 162, in init_process

super().init_process()


 "/miniconda/envs/custom_env/lib/python3.7/site-packages/gunicorn/workers/base.py", line 119, in init_process

self.load_wsgi()


 "/miniconda/envs/custom_env/lib/python3.7/site-packages/gunicorn/workers/base.py", line 144, in load_wsgi

self.wsgi = self.app.wsgi()


 "/miniconda/envs/custom_env/lib/python3.7/site-packages/gunicorn/app/base.py", line 67, in wsgi

self.callable = self.load()


 "/miniconda/envs/custom_env/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 49, in load

return self.load_wsgiapp()


 "/miniconda/envs/custom_env/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 39, in load_wsgiapp

return util.import_app(self.app_uri)


 "/miniconda/envs/custom_env/lib/python3.7/site-packages/gunicorn/util.py", line 358, in import_app

mod = importlib.import_module(module)


 "/miniconda/envs/custom_env/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


 "/miniconda/envs/custom_env/lib/python3.7/site-packages/mlflow/models/container/scoring_server/wsgi.py", line 4, in <module>

app = scoring_server.init(pyfunc.load_pyfunc("/opt/ml/model/"))


 "/miniconda/envs/custom_env/lib/python3.7/site-packages/mlflow/utils/annotations.py", line 42, in deprecated_func

return func(*args, **kwargs)


 "/miniconda/envs/custom_env/lib/python3.7/site-packages/mlflow/pyfunc/__init__.py", line 548, in load_pyfunc

return load_model(model_uri, suppress_warnings)


 "/miniconda/envs/custom_env/lib/python3.7/site-packages/mlflow/pyfunc/__init__.py", line 522, in load_model

model_impl = importlib.import_module(conf[MAIN])._load_pyfunc(data_path)


 "/miniconda/envs/custom_env/lib/python3.7/site-packages/mlflow/pyfunc/model.py", line 223, in _load_pyfunc

python_model = cloudpickle.load(f)


 "/miniconda/envs/custom_env/lib/python3.7/site-packages/cloudpickle/cloudpickle.py", line 415, in _builtin_type

return getattr(types, name)
AttributeError: module 'types' has no attribute 'ClassType'
