[ase-users] The error of ``python -m ase.test''
Jens Jørgen Mortensen
jensj at fysik.dtu.dk
Mon Mar 21 07:25:01 CET 2016
On 03/20/2016 08:35 AM, Hongyi Zhao wrote:
> Hi all,
>
> I installed the lastest stable version of ase and the do the following testing:
>
> $ python -m ase.test
>
> Then I meet the following errors:
>
> ======================================================================
> ERROR: mopac/mopac_cmdline.py
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/home/werner/anaconda2/lib/python2.7/site-packages/ase/test/__init__.py",
> line 54, in testfile
> {'display': self.display})
> File "/home/werner/anaconda2/lib/python2.7/site-packages/ase/test/mopac/mopac_cmdline.py",
> line 3, in <module>
> from ase.calculators.mopac import Mopac
> ImportError: cannot import name Mopac
>
> ----------------------------------------------------------------------
> Ran 167 tests in 44.635s
>
> FAILED (errors=1)
>
>
> Furthermore, I tried the latest develop git version, and meet the same errors.
>
> Any hints on this issue?
The file:
/home/werner/anaconda2/lib/python2.7/site-packages/ase/test/mopac/mopac_cmdline.py
is not part of the latest stable release or the latest development version. It looks like you running some mix of an older version of ASE and a newer one. How did you install ASE? Did you set your $PATH and $PYTHONPATH?
Jens Jørgen
>
> Regards
More information about the ase-users
mailing list