Re: [AMBER] execution error

From: David A Case <>
Date: Thu, 10 May 2018 15:11:56 -0400

On Thu, May 10, 2018, Jose Manuel Granadino Roldán wrote:
> I have installed AmberTools18 downloading the
> file and typing afterwards: bash —prefix
> /programas/ -v 3. I am trying -v 3 because -v 2 gave me plenty of
> errors with parmed, y Now I am able to
> run parmed and without any problem but when I try to
> execute I get the following error:
> File "/programas//amber18/bin/", line 71
> except CommandlineError, e:
> ^
> SyntaxError: invalid syntax

(I think Dan's answer is wrong here): what you are seeing is indeed
a syntax error in python3:

Here's what I think is happening: Hai (cc-ed here) fixed the
script just a few days ago (after the release of AmberTools18), but this
fix has not yet been posted as an update, and not made it into the
released binary version.

There are two lines like the above (at lines 71 and 91) that would need
to be changed: try editing those lines and see if everything else

It would be nice to know more about the problems you had with python v2.
I recognize that you said "plenty of errors", but telling us even the
first one or two might help others who would have similar problems.
Amber should be using its own (miniconda) version of python: do you have
anaconda or miniconda installed any where else on your system?


AMBER mailing list
Received on Thu May 10 2018 - 12:30:01 PDT
Custom Search