[ase-users] failing tests.

Adam Jackson a.j.jackson at physics.org
Wed Mar 1 15:55:26 CET 2017


Message: 2 

Date: Wed, 1 Mar 2017 15:15:58 +0100 

From: Franck Olivier Ngassam Nyakam <ngassamnyakam at gmail.com> 

To: ase-users at listserv.fysik.dtu.dk 

Subject: [ase-users] failing tests. 

Message-ID: <CE983DCB-1773-47F7-906E-627AA32986BA at gmail.com> 

Content-Type: text/plain; charset="us-ascii" 

 

Hello, Sir. 

please I have a problem with the installation of ase when I run my test $ python -m ase.test # takes 1 min. 

 

 

 is not correct here is the message that it transmits to me how can do please? 

ERROR: db.py 

---------------------------------------------------------------------- 

Traceback (most recent call last): 

 File "/Users/franckolivierngassamnyakam/.local/lib/python3.6/site-packages/ase/test/__init__.py", line 51, in testfile 

 exec(compile(fd.read(), self.filename, 'exec'), {}) 

 File "/Users/franckolivierngassamnyakam/.local/lib/python3.6/site-packages/ase/test/db.py", line 22, in <module> 

 cli(cmd.replace('y.json', name)) 

 File "/Users/franckolivierngassamnyakam/.local/lib/python3.6/site-packages/ase/test/__init__.py", line 177, in cli 

 raise RuntimeError('Failed running a shell command. ' 

RuntimeError: Failed running a shell command. Please set you $PATH environment variable! 

 





Hi Franck,



You seem to be using a Mac. Can you please check if ~/.local/bin is on your PATH? (Type "echo $PATH" at the command line.)

This is not always done automatically on Mac OSX; in which case, please add



    export PATH="${HOME}/.local/bin:${PATH}"



to your ~/.bash_profile (creating this file if necessary) then



    source ~/.bash_profile



and try running the tests again. The DB test needs to access the command line tools of ASE.



All the best,

Adam



Dr Adam J. Jackson

Post-doctoral research associate

Dept of Chemistry

University College London





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.fysik.dtu.dk/pipermail/ase-users/attachments/20170301/363fd208/attachment.html>


More information about the ase-users mailing list