Re: [AMBER] Python: AttributeError: 'dict' object has no attribute 'property'

From: Gerald Monard <Gerald.Monard.univ-lorraine.fr>
Date: Sun, 14 Jun 2015 22:40:29 +0200

Hello,

Can you output the results of the following commands?
- which python
- which -a python
- env python

and after adding "set -x" at line 2 of test_at_serial.sh (in
$AMBERHOME/AmberTools/test):
- make test

Thanks,

Gerald.

On 06/14/2015 07:44 PM, Jean-Patrick Francoia wrote:
> Hi,
>
> I'm trying to install amber from the AmberTools free package available
> on the website. I downloaded it yesterday, so it should be up-to-date.
>
> The configure gnu and make install commands went smoothly. However, when
> I try to run the tests with "make test", as mentionned in the
> installation guide, I get the following exception from python:
>
> (cd AmberTools/test && make test)
> make[1] : on entre dans le répertoire
> « /home/djipey/SOFT/amber14/AmberTools/test »
> ./test_at_serial.sh
> Traceback (most recent call last):
> File "<stdin>", line 18, in <module>
> File
> "/home/djipey/SOFT/amber14/lib/python2.7/site-packages/chemistry/__init__.py",
> line 10, in <module>
> from chemistry.structure import Structure
> File
> "/home/djipey/SOFT/amber14/lib/python2.7/site-packages/chemistry/structure.py",
> line 36, in <module>
> from chemistry.topologyobjects import (AtomList, ResidueList,
> TrackedList,
> File
> "/home/djipey/SOFT/amber14/lib/python2.7/site-packages/chemistry/topologyobjects.py",
> line 14, in <module>
> from compat24 import all, property
> File
> "/home/djipey/SOFT/amber14/lib/python2.7/site-packages/compat24.py",
> line 68, in <module>
> if not hasattr(__builtins__.property, 'setter'):
> AttributeError: 'dict' object has no attribute 'property'
> Makefile:6 : la recette pour la cible « test » a échouée
> make[1]: *** [test] Erreur 1
> make[1] : on quitte le répertoire
> « /home/djipey/SOFT/amber14/AmberTools/test »
> Makefile:43 : la recette pour la cible « test.serial » a échouée
> make: *** [test.serial] Erreur 2
>
> Sorry, my error messages are in french, but you can get the error
> message from python. The problem seems to come from the module
> compat24.py, which I assume handles the compatibility for python 2.4.
>
> I'm using Manjaro Linux (which is based on Arch Linux), 64 bits system,
> and I have python 3.4 and python 2.7 installed.
>
> Do you have an idea about how to solve this issue ?
>
> Sincerely
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>

-- 
____________________________________________________________________________
  Prof. Gerald MONARD
  SRSMC, Université de Lorraine, CNRS
  Boulevard des Aiguillettes B.P. 70239
  F-54506 Vandoeuvre-les-Nancy, FRANCE
  e-mail : Gerald.Monard.univ-lorraine.fr
  tel.   : +33 (0)383.684.381
  fax    : +33 (0)383.684.371
  web    : http://www.monard.info
____________________________________________________________________________
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Sun Jun 14 2015 - 14:00:02 PDT
Custom Search