Traceback (most recent call last):


 "/home/jayendran/elephas-master/examples/ml_mlp.py", line 10, in <module>

from elephas.ml_model import ElephasEstimator


 "/usr/local/lib/python2.7/dist-packages/elephas/ml_model.py", line 6, in <module>

from pyspark.ml.util import keyword_only
ImportError: cannot import name keyword_only

Traceback (most recent call last):


 "/share/CACHEDEV1_DATA/.qpkg/PaperLess/lib/python3.7/site-packages/django/utils/autoreload.py", line 225, in wrapper

fn(*args, **kwargs)


 "/share/CACHEDEV1_DATA/.qpkg/PaperLess/lib/python3.7/site-packages/django/core/management/commands/runserver.py", line 120, in inner_run

self.check(display_num_errors=True)


 "/share/CACHEDEV1_DATA/.qpkg/PaperLess/lib/python3.7/site-packages/django/core/management/base.py", line 364, in check

include_deployment_checks=include_deployment_checks,


 "/share/CACHEDEV1_DATA/.qpkg/PaperLess/lib/python3.7/site-packages/django/core/management/base.py", line 351, in _run_checks

return checks.run_checks(**kwargs)


 "/share/CACHEDEV1_DATA/.qpkg/PaperLess/lib/python3.7/site-packages/django/core/checks/registry.py", line 73, in run_checks

new_errors = check(app_configs=app_configs)


 "/share/CACHEDEV1_DATA/.qpkg/PaperLess/lib/python3.7/site-packages/django/core/checks/urls.py", line 13, in check_url_config

return check_resolver(resolver)


 "/share/CACHEDEV1_DATA/.qpkg/PaperLess/lib/python3.7/site-packages/django/core/checks/urls.py", line 23, in check_resolver

return check_method()


 "/share/CACHEDEV1_DATA/.qpkg/PaperLess/lib/python3.7/site-packages/django/urls/resolvers.py", line 399, in check

for pattern in self.url_patterns:


 "/share/CACHEDEV1_DATA/.qpkg/PaperLess/lib/python3.7/site-packages/django/utils/functional.py", line 36, in __get__

res = instance.__dict__[self.name] = self.func(instance)


 "/share/CACHEDEV1_DATA/.qpkg/PaperLess/lib/python3.7/site-packages/django/urls/resolvers.py", line 540, in url_patterns

patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)


 "/share/CACHEDEV1_DATA/.qpkg/PaperLess/lib/python3.7/site-packages/django/utils/functional.py", line 36, in __get__

res = instance.__dict__[self.name] = self.func(instance)


 "/share/CACHEDEV1_DATA/.qpkg/PaperLess/lib/python3.7/site-packages/django/urls/resolvers.py", line 533, in urlconf_module

return import_module(self.urlconf_name)


 "/share/CACHEDEV1_DATA/.qpkg/PaperLess/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


 "/share/CACHEDEV1_DATA/.qpkg/PaperLess/paperless/src/paperless/urls.py", line 9, in <module>

from documents.views import (


 "/share/CACHEDEV1_DATA/.qpkg/PaperLess/paperless/src/documents/views.py", line 24, in <module>

from .forms import UploadForm


 "/share/CACHEDEV1_DATA/.qpkg/PaperLess/paperless/src/documents/forms.py", line 1, in <module>

import magic


 "/share/CACHEDEV1_DATA/.qpkg/PaperLess/lib/python3.7/site-packages/magic/__init__.py", line 18, in <module>

from magic.identify import Magic, MagicError


 "/share/CACHEDEV1_DATA/.qpkg/PaperLess/lib/python3.7/site-packages/magic/identify.py", line 16, in <module>

from magic import api


 "/share/CACHEDEV1_DATA/.qpkg/PaperLess/lib/python3.7/site-packages/magic/api.py", line 22, in <module>

raise ImportError('Unable to find magic library')
ImportError: Unable to find magic library
