[ase-users] Installation error using macOS Sierra 10.12.1
Gaël Donval
G.Donval at bath.ac.uk
Thu Dec 1 16:22:07 CET 2016
Hi,
> Based on the tutorial, I have create both a ~/.bashrc and ~/.cshrc
> files
> that follows the command to include a new path.
You only need one. Since you can `source` your file, I suppose that it
is ~/.bashrc.
As the doc said, just add:
export PYTHONPATH=/Users/cennaradipa/Library/Python/2.7/python2.7/site-packages:$PYTHONPATH
export PATH=/Users/cennaradipa/Library/Python/2.7/bin:$PATH
to ~/.bashrc, then start a new terminal and check that everything is
fine.
> The only error is "db.py" and it seems that it does not recognize the
> ase-gui and ase-build, thinking that its location is in bin/sh
> (underline).
Anyway, that is not very important: as long as you can access these
files from your terminal, it is fine.
> Copying these two files to the bin/sh would solve it but I do not
> think
> that this is the right way to go, e.g. I already modified the PATH
> variable.
You are right.
>
> Is there something missing here?
Did you think of restarting the terminal once the changes are done? If
not, this is certainly it: /bin/bash reads its configuration when it
starts.
There might be some problems with the way /bin/sh handle things or the
way it is called within python on MacOS. But I don't have a Mac so I
can't try that myself.
Cheers,
Gaël
More information about the ase-users
mailing list