Traceback (most recent call last):


 "/home/kuba/temp/t2/pytest-django/lib/python3.5/site-packages/pytest.py", line 73, in <module>

raise SystemExit(pytest.main())


 "/home/kuba/temp/t2/pytest-django/lib/python3.5/site-packages/_pytest/config.py", line 49, in main

config = _prepareconfig(args, plugins)


 "/home/kuba/temp/t2/pytest-django/lib/python3.5/site-packages/_pytest/config.py", line 158, in _prepareconfig

pluginmanager=pluginmanager, args=args)


 "/home/kuba/temp/t2/pytest-django/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 745, in __call__

return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)


 "/home/kuba/temp/t2/pytest-django/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 339, in _hookexec

return self._inner_hookexec(hook, methods, kwargs)


 "/home/kuba/temp/t2/pytest-django/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 334, in <lambda>

_MultiCall(methods, kwargs, hook.spec_opts).execute()


 "/home/kuba/temp/t2/pytest-django/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 613, in execute

return _wrapped_call(hook_impl.function(*args), self.execute)


 "/home/kuba/temp/t2/pytest-django/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 250, in _wrapped_call

wrap_controller.send(call_outcome)


 "/home/kuba/temp/t2/pytest-django/lib/python3.5/site-packages/_pytest/helpconfig.py", line 34, in pytest_cmdline_parse

config = outcome.get_result()


 "/home/kuba/temp/t2/pytest-django/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 279, in get_result

raise ex[1].with_traceback(ex[2])


 "/home/kuba/temp/t2/pytest-django/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 265, in __init__

self.result = func()


 "/home/kuba/temp/t2/pytest-django/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 614, in execute

res = hook_impl.function(*args)


 "/home/kuba/temp/t2/pytest-django/lib/python3.5/site-packages/_pytest/config.py", line 928, in pytest_cmdline_parse

self.parse(args)


 "/home/kuba/temp/t2/pytest-django/lib/python3.5/site-packages/_pytest/config.py", line 1086, in parse

self._preparse(args, addopts=addopts)


 "/home/kuba/temp/t2/pytest-django/lib/python3.5/site-packages/_pytest/config.py", line 1057, in _preparse

args=args, parser=self._parser)


 "/home/kuba/temp/t2/pytest-django/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 745, in __call__

return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)


 "/home/kuba/temp/t2/pytest-django/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 339, in _hookexec

return self._inner_hookexec(hook, methods, kwargs)


 "/home/kuba/temp/t2/pytest-django/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 334, in <lambda>

_MultiCall(methods, kwargs, hook.spec_opts).execute()


 "/home/kuba/temp/t2/pytest-django/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 613, in execute

return _wrapped_call(hook_impl.function(*args), self.execute)


 "/home/kuba/temp/t2/pytest-django/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 254, in _wrapped_call

return call_outcome.get_result()


 "/home/kuba/temp/t2/pytest-django/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 279, in get_result

raise ex[1].with_traceback(ex[2])


 "/home/kuba/temp/t2/pytest-django/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 265, in __init__

self.result = func()


 "/home/kuba/temp/t2/pytest-django/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 614, in execute

res = hook_impl.function(*args)


 "/home/kuba/temp/t2/pytest-django/pytest_django/plugin.py", line 245, in pytest_load_initial_conftests

dj_settings.DATABASES


 "/usr/lib/python3.5/contextlib.py", line 77, in __exit__

self.gen.throw(type, value, traceback)


 "/home/kuba/temp/t2/pytest-django/pytest_django/plugin.py", line 118, in _handle_import_error

raise ImportError(msg)
ImportError: cannot import name 'Settings'

Traceback (most recent call last):


 "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 174, in _run_module_as_main

"__main__", fname, loader, pkg_name)


 "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code

exec code in run_globals


 "/Users/jiangjiang/Desktop/baseline_code/OpenNE/src/openne/__main__.py", line 7, in <module>

from . import node2vec


 "openne/node2vec.py", line 3, in <module>

from gensim.models import Word2Vec


 "/Users/jiangjiang/Library/Python/2.7/lib/python/site-packages/gensim/__init__.py", line 6, in <module>

from gensim import parsing, matutils, interfaces, corpora, models, similarities, summarization, utils
# noqa:F401


 "/Users/jiangjiang/Library/Python/2.7/lib/python/site-packages/gensim/models/__init__.py", line 23, in <module>

from . import wrappers
# noqa:F401


 "/Users/jiangjiang/Library/Python/2.7/lib/python/site-packages/gensim/models/wrappers/__init__.py", line 5, in <module>

from .ldamallet import LdaMallet
# noqa:F401


 "/Users/jiangjiang/Library/Python/2.7/lib/python/site-packages/gensim/models/wrappers/ldamallet.py", line 40, in <module>

from smart_open import smart_open


 "/Users/jiangjiang/Library/Python/2.7/lib/python/site-packages/smart_open/__init__.py", line 26, in <module>

from smart_open import version
ImportError: cannot import name version