[ase-users] Installing ASE: Handling ase test errors
JOSHUA MATEO SALAZAR MEJIA
joshua.salazar at yachaytech.edu.ec
Fri Feb 16 17:44:54 CET 2018
* python-setuptools
On Fri, Feb 16, 2018 at 11:44 AM, JOSHUA MATEO SALAZAR MEJIA <
joshua.salazar at yachaytech.edu.ec> wrote:
> Hi there,
>
> I managed it to work, I had to reinstall python2.7 (was not so easy), and
> then use the installation method with the tar package and python-tools.
>
> Thanks four your time.
>
>
>
> On Tue, Feb 6, 2018 at 8:21 AM, Jens Jørgen Mortensen <jjmo at dtu.dk> wrote:
>
>> On 02/06/2018 02:41 AM, JOSHUA MATEO SALAZAR MEJIA wrote:
>>
>>> I used the installation with pip
>>> pip install --upgrade --user ase
>>>
>>> ~$ echo $PYTHONPATH
>>> /home/joshua/.local/bin:
>>>
>>> It looks like it keeps failing:
>>>
>>> ~$ python -c "import ase"
>>> Traceback (most recent call last):
>>> File "<string>", line 1, in <module>
>>> ImportError: No module named ase
>>>
>>
>> Try to remove /home/joshua/.local/bin from your $PYTHONPATH and try again.
>>
>> And please reply to the mail list.
>>
>> Jens Jørgen
>>
>>
>>> Thanks
>>>
>>>
>>>
>>>
>>>
>>> On Fri, Feb 2, 2018 at 1:12 AM, Jens Jørgen Mortensen <jjmo at dtu.dk
>>> <mailto:jjmo at dtu.dk>> wrote:
>>>
>>> On 02/01/2018 06:36 PM, JOSHUA MATEO SALAZAR MEJIA via ase-users
>>> wrote:
>>>
>>> I'm still getting the same error as before. In the Pastebin
>>> file, you can check that I already had that PATH variable added.
>>>
>>>
>>> Which method of installation did you use?
>>>
>>> What is in your $PYTHONPATH environment variable?
>>>
>>> echo $PYTHONPAGTH
>>>
>>> Does this work?
>>>
>>> python -c "import ase"
>>>
>>> Jens Jørgen
>>>
>>>
>>> On Wed, Jan 31, 2018 at 1:09 AM, Jens Jørgen Mortensen
>>> <jjmo at dtu.dk <mailto:jjmo at dtu.dk> <mailto:jjmo at dtu.dk
>>> <mailto:jjmo at dtu.dk>>> wrote:
>>>
>>> On 01/30/2018 07:49 PM, JOSHUA MATEO SALAZAR MEJIA wrote:
>>>
>>> Thanks for answering:
>>>
>>> Here is the output:
>>> joshua at joshua-HP-Notebook:~$ which ase
>>> /home/joshua/.local/bin/ase
>>>
>>>
>>> All you need in your .bashrc is "export
>>> PATH=~/.local/bin/:$PATH".
>>> If you fix that, what do you get after running "ase" on the
>>> command line?
>>>
>>> ... and keep the replies on the ase-users mail list.
>>>
>>> Jens Jørgen
>>>
>>>
>>>
>>> Just in case here is my ~/.bashrc file.
>>>
>>> https://pastebin.com/KgEsXmX0
>>>
>>> Have a nice day!
>>>
>>> On Tue, Jan 30, 2018 at 3:26 AM, Jens Jørgen Mortensen
>>> <jjmo at dtu.dk <mailto:jjmo at dtu.dk> <mailto:jjmo at dtu.dk
>>> <mailto:jjmo at dtu.dk>> <mailto:jjmo at dtu.dk <mailto:jjmo at dtu.dk>
>>>
>>>
>>> <mailto:jjmo at dtu.dk <mailto:jjmo at dtu.dk>>>> wrote:
>>>
>>> On 01/29/2018 09:23 PM, JOSHUA MATEO SALAZAR MEJIA
>>> via
>>> ase-users
>>> wrote:
>>>
>>> Greetings,
>>>
>>> I installed ASE as indicated on your webpage
>>> https://wiki.fysik.dtu.dk/ase/install.html
>>> <https://wiki.fysik.dtu.dk/ase/install.html>
>>> <https://wiki.fysik.dtu.dk/ase/install.html
>>> <https://wiki.fysik.dtu.dk/ase/install.html>>
>>> <https://wiki.fysik.dtu.dk/ase/install.html
>>> <https://wiki.fysik.dtu.dk/ase/install.html>
>>> <https://wiki.fysik.dtu.dk/ase/install.html
>>> <https://wiki.fysik.dtu.dk/ase/install.html>>>. Also, I added
>>> all the required environment variables in the
>>> .bashrc
>>> file.
>>> Here is the output of '$ tail -n 4 .bashrc':
>>>
>>> export PYTHONPATH=~/.local/bin:$PYTHONPATH
>>> export PATH=~/.local/bin:$PATH
>>> export
>>> PATH=~/bin:~/.local/bin:~/ase/bin:/usr/bin/ase:$PATH
>>>
>>> But, I'm still having the following error after
>>> running '$ ase
>>> test':
>>>
>>> Traceback (most recent call last):File
>>> "./ase", line 7, in
>>> <module>
>>> from ase.cli.main import main
>>> ImportError: No module named ase.cli.main
>>>
>>> What I'm left to do?
>>> P.D. I checked the folder ~/.local/bin/ and
>>> there are the
>>> following files:
>>> ase ase-build ase-db ase-gui ase-info
>>> ase-run flask
>>>
>>>
>>> What do you get when you do this on the command line:
>>>
>>> which ase
>>>
>>> Jens Jørgen
>>>
>>>
>>> Thank you very much. And thank you for this
>>> amazing
>>> software!
>>>
>>> -- *Joshua Salazar*
>>> Student of Nanotechnology Engineering |
>>> Estudiante de
>>> Ingeniería en Nanotecnología
>>> 6th Term | 6to Semestre
>>> T. +593 (996) 567-192
>>> <tel:%2B593%20%28996%29%20567-192>
>>> <tel:%2B593%20%28996%29%20567-192>
>>> <tel:%2B593%20%28996%29%20567-192>
>>>
>>>
>>> Sent from gmail.com <http://gmail.com>
>>> <http://gmail.com>
>>> <http://gmail.com> <http://gmail.com>
>>>
>>>
>>> _______________________________________________
>>> ase-users mailing list
>>> ase-users at listserv.fysik.dtu.dk
>>> <mailto:ase-users at listserv.fysik.dtu.dk>
>>> <mailto:ase-users at listserv.fysik.dtu.dk
>>> <mailto:ase-users at listserv.fysik.dtu.dk>>
>>> <mailto:ase-users at listserv.fysik.dtu.dk
>>> <mailto:ase-users at listserv.fysik.dtu.dk>
>>> <mailto:ase-users at listserv.fysik.dtu.dk
>>> <mailto:ase-users at listserv.fysik.dtu.dk>>>
>>> https://listserv.fysik.dtu.dk/mailman/listinfo/ase-users
>>> <https://listserv.fysik.dtu.dk/mailman/listinfo/ase-users>
>>>
>>> <https://listserv.fysik.dtu.dk/mailman/listinfo/ase-users
>>> <https://listserv.fysik.dtu.dk/mailman/listinfo/ase-users>>
>>>
>>>
>>> <https://listserv.fysik.dtu.dk/mailman/listinfo/ase-users
>>> <https://listserv.fysik.dtu.dk/mailman/listinfo/ase-users>
>>>
>>> <https://listserv.fysik.dtu.dk/mailman/listinfo/ase-users
>>> <https://listserv.fysik.dtu.dk/mailman/listinfo/ase-users>>>
>>>
>>>
>>>
>>>
>>>
>>> -- *Joshua Salazar*
>>> Student of Nanotechnology Engineering | Estudiante de
>>> Ingeniería en Nanotecnología
>>> 6th Term | 6to Semestre
>>> T. +593 (996) 567-192
>>> <tel:%2B593%20%28996%29%20567-192>
>>> <tel:%2B593%20%28996%29%20567-192>
>>>
>>>
>>> Sent from gmail.com <http://gmail.com>
>>> <http://gmail.com> <http://gmail.com>
>>>
>>>
>>>
>>>
>>>
>>> -- *Joshua Salazar*
>>> Student of Nanotechnology Engineering | Estudiante de
>>> Ingeniería en Nanotecnología
>>> 6th Term | 6to Semestre
>>> T. +593 (996) 567-192 <tel:%2B593%20%28996%29%20567-192>
>>>
>>>
>>> Sent from gmail.com <http://gmail.com> <http://gmail.com>
>>>
>>>
>>> _______________________________________________
>>> ase-users mailing list
>>> ase-users at listserv.fysik.dtu.dk
>>> <mailto:ase-users at listserv.fysik.dtu.dk>
>>> https://listserv.fysik.dtu.dk/mailman/listinfo/ase-users
>>> <https://listserv.fysik.dtu.dk/mailman/listinfo/ase-users>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> *Joshua Salazar*
>>> Student of Nanotechnology Engineering | Estudiante de Ingeniería en
>>> Nanotecnología
>>> 6th Term | 6to Semestre
>>> T. +593 (996) 567-192
>>>
>>>
>>> Sent from gmail.com <http://gmail.com>
>>>
>>
>>
>
>
> --
> *Joshua Salazar*
> Student of Physics | Estudiante de Física
> 7th Term | 7to Semestre
> T. +593 (996) 567-192
>
>
> Sent from gmail.com
>
--
*Joshua Salazar*
Student of Physics | Estudiante de Física
7th Term | 7to Semestre
T. +593 (996) 567-192
Sent from gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.fysik.dtu.dk/pipermail/ase-users/attachments/20180216/4adb7da3/attachment-0001.html>
More information about the ase-users
mailing list