[ase-users] ase.test error

Ask Hjorth Larsen asklarsen at gmail.com
Sat Mar 4 13:12:28 CET 2017


Hi

2017-03-04 5:28 GMT+01:00 Jincheng Lei via ase-users
<ase-users at listserv.fysik.dtu.dk>:
> Hi,
>
> Recently, I've installed ASE on Mac and ran ase.test to check the
> installation. There is an ERROR about bandstructure.py.
>
> ERROR: bandstructure.py
>
> ----------------------------------------------------------------------
>
> Traceback (most recent call last):
>
>   File
> "/Users/liam/Library/Python/2.7/lib/python/site-packages/ase/test/__init__.py",
> line 51, in testfile
>
>     exec(compile(fd.read(), self.filename, 'exec'), {})
>
>   File
> "/Users/liam/Library/Python/2.7/lib/python/site-packages/ase/test/bandstructure.py",
> line 17, in <module>
>
>     import matplotlib
>
>   File
> "/Users/liam/Library/Python/2.7/lib/python/site-packages/matplotlib/__init__.py",
> line 124, in <module>
>
>     from matplotlib.rcsetup import (defaultParams,
>
>   File
> "/Users/liam/Library/Python/2.7/lib/python/site-packages/matplotlib/rcsetup.py",
> line 37, in <module>
>
>     from cycler import Cycler, cycler as ccycler
>
> ImportError: No module named cycler
>
> Anyone knows how to solve this problem?
>
>
> Thanks,
>
> Liam

Strange.  Probably you need to install the module cycler separately,
but I did not know that matplotlib needed that.

http://matplotlib.org/cycler/

Best regards
Ask


>
>
>
> _______________________________________________
> ase-users mailing list
> ase-users at listserv.fysik.dtu.dk
> https://listserv.fysik.dtu.dk/mailman/listinfo/ase-users


More information about the ase-users mailing list