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

From: Jason Swails <jason.swails.gmail.com>
Date: Mon, 15 Jun 2015 07:18:31 -0600

Good catch. The easiest fix here is just to change python to python2 in
test_check.sh, as you did.

I'll work on a proper fix shortly. FWIW, ParmEd *should* be compatible
with Python 3, but only through 2to3 which is invoked during installation.
But the configure script almost certainly selected Python 2.7 as the
installation to use (since that's what it looks for first), which means the
2to3 conversion didn't take place.

The python used for the check should be the same Python used to install the
various packages (which wasn't the case).

HTH,
Jason

On Mon, Jun 15, 2015 at 3:40 AM, Gerald Monard <
Gerald.Monard.univ-lorraine.fr> wrote:

> Hi,
>
> May be something like (in bash):
> alias python=python2
> should do the trick also and will last for the session only.
>
> Gerald.
>
> On 06/15/2015 11:02 AM, Jean-Patrick Francoia wrote:
> > Yes, fantastic, that did the trick. Much better solution than installing
> > many packages, or changing the default version of python of an entire
> > distribution.
> > Thank you all.
> >
> > Le 15/06/2015 10:57, Hannes Loeffler a écrit :
> >> On Mon, 15 Jun 2015 10:45:23 +0200
> >> Jean-Patrick Francoia <jeanpatrick.francoia.gmail.com> wrote:
> >>
> >>> Thank you for your suggestion. However, it's a drastic solution to do
> >>> that, and I think it can cause many problems for linux distributions
> >>> which use python 3. If you have a better solution, I take it.
> >> Change python to python2 in AmberTools/test/test_check.sh and see how
> >> far you get.
> >>
> >> _______________________________________________
> >> AMBER mailing list
> >> AMBER.ambermd.org
> >> http://lists.ambermd.org/mailman/listinfo/amber
> >
> >
> > _______________________________________________
> > 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
>



-- 
Jason M. Swails
BioMaPS,
Rutgers University
Postdoctoral Researcher
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Jun 15 2015 - 06:30:04 PDT
Custom Search