kwant.test() fails without SymPy
============================================================================================================================ test session starts =============================================================================================================================
platform linux -- Python 3.6.6, pytest-3.8.2, py-1.6.0, pluggy-0.7.1 -- /home/kubuntu/.local/share/virtualenvs/simple-5KtaExX0/bin/python3
cachedir: .pytest_cache
rootdir: /home, inifile:
collecting ... collected 189 items / 2 errors
=================================================================================================================================== ERRORS ===================================================================================================================================
_____________________________________________________________________ ERROR collecting kubuntu/.local/share/virtualenvs/simple-5KtaExX0/lib/python3.6/site-packages/kwant/continuum/tests/test_common.py _____________________________________________________________________
/home/kubuntu/.local/share/virtualenvs/simple-5KtaExX0/lib/python3.6/site-packages/py/_path/local.py:668: in pyimport
__import__(modname)
<frozen importlib._bootstrap>:971: in _find_and_load
???
<frozen importlib._bootstrap>:947: in _find_and_load_unlocked
???
/home/kubuntu/.local/share/virtualenvs/simple-5KtaExX0/lib/python3.6/site-packages/kwant/_common.py:63: in __getattr__
raise RuntimeError(msg.format(self.name, self.dependencies))
E RuntimeError: 'kwant.continuum' is not available because one or more of the following dependencies are not installed: sympy
__________________________________________________________________ ERROR collecting kubuntu/.local/share/virtualenvs/simple-5KtaExX0/lib/python3.6/site-packages/kwant/continuum/tests/test_discretizer.py ___________________________________________________________________
/home/kubuntu/.local/share/virtualenvs/simple-5KtaExX0/lib/python3.6/site-packages/py/_path/local.py:668: in pyimport
__import__(modname)
<frozen importlib._bootstrap>:971: in _find_and_load
???
<frozen importlib._bootstrap>:947: in _find_and_load_unlocked
???
/home/kubuntu/.local/share/virtualenvs/simple-5KtaExX0/lib/python3.6/site-packages/kwant/_common.py:63: in __getattr__
raise RuntimeError(msg.format(self.name, self.dependencies))
E RuntimeError: 'kwant.continuum' is not available because one or more of the following dependencies are not installed: sympy
============================================================================================================================== warnings summary ==============================================================================================================================
/home/kubuntu/.local/share/virtualenvs/simple-5KtaExX0/lib/python3.6/site-packages/_pytest/cacheprovider.py:55: PytestWarning: could not create cache path /home/.pytest_cache/v/cache/nodeids
PytestWarning(fmt.format(**args) if args else fmt), self._config
/home/kubuntu/.local/share/virtualenvs/simple-5KtaExX0/lib/python3.6/site-packages/_pytest/cacheprovider.py:55: PytestWarning: could not create cache path /home/.pytest_cache/v/cache/lastfailed
PytestWarning(fmt.format(**args) if args else fmt), self._config
-- Docs: https://docs.pytest.org/en/latest/warnings.html
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
==================================================================================================================== 2 warnings, 2 error in 0.65 seconds =====================================================================================================================