[ase-users] ase installation on centos 7.0, where id i miss?
Ask Hjorth Larsen
asklarsen at gmail.com
Fri Dec 1 18:46:33 CET 2017
Hi Zongtang,
This should be fine. It is supposed to simply skip that test. You
can ignore the error.
Best regards
Ask
2017-12-01 1:14 GMT+01:00 Zongtang Fang <zfang at crimson.ua.edu>:
> Hi, Ask,
>
> Thanks I could install with pip.
>
> when I did ase test, got some kind error message, is this acceptable for
> use ?
>
> Thanks.
>
> Zongtang
>
>
>
>
> ase test
>
>
>
> ======================================================================
>
> ERROR: fio/compression.py
>
> ----------------------------------------------------------------------
>
> Traceback (most recent call last):
>
> File
> "/home/zfang/.local/lib/python2.7/site-packages/ase/test/__init__.py", line
> 50, in testfile
>
> exec(compile(fd.read(), self.filename, 'exec'), {})
>
> File
> "/home/zfang/.local/lib/python2.7/site-packages/ase/test/fio/compression.py",
> line 111, in <module>
>
> test_compression_write_single('xz')
>
> File
> "/home/zfang/.local/lib/python2.7/site-packages/ase/test/fio/compression.py",
> line 33, in test_compression_write_single
>
> io.write(filename, single)
>
> File "/home/zfang/.local/lib/python2.7/site-packages/ase/io/formats.py",
> line 352, in write
>
> _write(filename, fd, format, io, images, parallel=parallel, **kwargs)
>
> File "/home/zfang/.local/lib/python2.7/site-packages/ase/io/formats.py",
> line 380, in _write
>
> fd = open_with_compression(filename, 'w')
>
> File "/home/zfang/.local/lib/python2.7/site-packages/ase/io/formats.py",
> line 303, in open_with_compression
>
> fd = lzma.open(filename, mode)
>
> AttributeError: 'module' object has no attribute 'open'
>
>
>
> ----------------------------------------------------------------------
>
> Ran 220 tests in 169.402s
>
>
>
> FAILED (errors=1, skipped=61)
>
>
>
>
> On Thu, Nov 30, 2017 at 5:08 PM, Zongtang Fang <zfang at crimson.ua.edu> wrote:
>>
>> Hi, Ask,
>>
>> The version I installed is 3.13.0.
>>
>> is there a way to fix that except for using pip ?
>>
>> Thanks.
>>
>> Zongtang
>>
>>
>>
>> On Thu, Nov 30, 2017 at 4:39 PM, Ask Hjorth Larsen <asklarsen at gmail.com>
>> wrote:
>>>
>>> Hi Zongtang,
>>>
>>>
>>> 2017-11-30 22:00 GMT+01:00 Zongtang Fang via ase-users
>>> <ase-users at listserv.fysik.dtu.dk>:
>>> > Centos7.0
>>> >
>>> > Python 2.7
>>> >
>>> > $ sudo yum install epel-release
>>> >
>>> > $sudo yum install -y python-ase
>>> >
>>> > $ export PYTHONPATH=/usr/lib/python2.7/site-packages/ase:$PYTHONPATH
>>> > $ export PATH=/usr/bin:$PATH
>>> >
>>> > $ ase test
>>> >
>>> > ase : command not found
>>> >
>>> > where did I miss ?
>>> >
>>> > Does the command should be in the folder of ~/ase/bin?
>>> >
>>> > I did not see the bin folder in ~/ase ?
>>>
>>> You may wish to install using pip rather than the repositories (yum).
>>>
>>> I don't know which version they have. Maybe it is from before the
>>> 'ase' command.
>>>
>>> Best regards
>>> Ask
>>>
>>> >
>>> > Thanks
>>> >
>>> > Zongtang
>>> >
>>> >
>>> >
>>> > _______________________________________________
>>> > 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