[ase-users] Installation test Failed

Jens Jørgen Mortensen jjmo at dtu.dk
Tue May 30 15:31:00 CEST 2017


On 05/30/2017 02:26 PM, Henry Martin via ase-users wrote:
>
> Hello,
>
> Please, I have being trying to fix the error I got when I installed 
> ASE, and run the test ( python -m ase.test ) provided on the site.
>
> I added
>
> setenv PYTHONPATH <~/.local>:${PYTHONPATH}
> setenv PATH </home/profmartin/.local/bin>:${PATH}

Try:

     setenv PATH /home/profmartin/.local/bin:${PATH}

or if you use BASH:

     export PATH=/home/profmartin/.local/bin:$PATH

Jens Jørgen

>
> to ~/.cshrc
>
> and even went ahead to add
>
> export PYTHONPATH=<~/.local>:$PYTHONPATH
> export PATH=</home/profmartin/.local/bin>:$PATH
>
> to  ~/.bashrc
>
>
> but I still do get the same error. Infact even if I change
>  </home/profmartin/.local/bin>  to <~/.local/bin>
> I still get the same error.
>
> Any help to fix this error would be much appreciated.
> thank you.
>
> Henry Martin.
>
>
> Below is the error message and attached is the snapshot from the terminal
>
> db.py ... /bin/sh: 1: ase-run: not found
> /bin/sh: 1: ase-build: not found
> ERROR
>
>
> ======================================================================
> ERROR: db.py
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/home/profmartin/.local/lib/python2.7/site-packages/ase/test/__init__.py", 
> line 51, in testfile
>     exec(compile(fd.read(), self.filename, 'exec'), {})
>   File 
> "/home/profmartin/.local/lib/python2.7/site-packages/ase/test/db.py", 
> line 22, in <module>
>     cli(cmd.replace('y.json', name))
>   File 
> "/home/profmartin/.local/lib/python2.7/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!
>
> ----------------------------------------------------------------------
> Ran 185 tests in 471.797s
>
> FAILED (errors=1)
>
>
>
>
>
> _______________________________________________
> 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