Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
kwant
kwant
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 113
    • Issues 113
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 13
    • Merge Requests 13
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Packages
    • Packages
    • Container Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • kwant
  • kwantkwant
  • Issues
  • #239

Closed
Open
Opened Oct 03, 2018 by Rafal Skolasinski@r-j-skolasinski
  • Report abuse
  • New issue
Report abuse New issue

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 =====================================================================================================================
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
1
Labels
bug
Assign labels
  • View project labels
Reference: kwant/kwant#239