[gpaw-users] Installation problem

Roger Mason rmason at mun.ca
Tue Mar 1 11:56:17 CET 2016


Hi Ask,

Ask Hjorth Larsen <asklarsen at gmail.com> writes:

> The problem is that /home/rmason/bin/ase is in PYTHONPATH.  Look how
> when attempting to import the basic Python class 'io', it actually
> gets ..../bin/ase/io whose name was supposed to be 'ase.io' if
> PYTHONPATH were correct.  So you probably meant to have
> /home/rmason/bin in PYTHONPATH.
>
> (Note that ~/bin is a slightly strange name to choose for this
> directory.  Directories named 'bin' usually contain executable
> scripts.  Here, it contains Python modules.)

I deleted both my ASE and GPAW installations and re-installed ASE
(according to the manual instructions).  ASE is in ~/Software/ASE/ase
and I have the following:

PYTHONPATH
/home/rmason/Software/ASE/ase:/opt/lib/root:/home/rmason/Software/ASE/ase:/opt/lib/root:

PATH
/opt/context/tex/texmf-freebsd-amd64/bin:/opt/context/tex/texmf-freebsd-amd64/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/rmason/bin:/opt/bin:/home/rmason/Software/ASE/ase/tools:/opt/bin:/home/rmason/Software/ASE/ase/tools

Running the ASE tests:

python2.7 -c "from ase.test import test; test()"
python 2.7.11 GCC 4.2.1 Compatible FreeBSD Clang 3.4.1 (tags/RELEASE_34/dot1-final 208032) 64bit ELF on FreeBSD amd64   
zsh: segmentation fault (core dumped)  python2.7 -c "from ase.test
import test; test()"

This is not a GPAW problem so possibly it is the wrong list.

Best wishes,
Roger


More information about the gpaw-users mailing list