Re: [AMBER] Error Importing pytraj to Python 2.7 Program

From: Hai Nguyen <nhai.qn.gmail.com>
Date: Tue, 21 Mar 2017 17:59:53 -0400

On Tue, Mar 21, 2017 at 5:20 PM, Samuel Bowerman <sbowerma.hawk.iit.edu>
wrote:

> Hello Amber community,
>
> I have put together a little python script to play with the "pytraj" module
> for pipelining some data processing. However, if I try to import the
> pytraj module, then I am met with the following error:
>
>


> RuntimeError("need to have cpptraj version >= v4.2.7")
>
> I don't really know why I'm getting this error because calling "cpptraj
> --version" shows that v16.6 is the default cpptraj in my path.


 yeah, that error message is quite misleading. pytraj is checking cpptraj's
internal version. (since cpptraj's API changed rapidly in the past).
https://github.com/Amber-MD/cpptraj/blob/master/src/Version.h

Hai
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Mar 21 2017 - 15:30:02 PDT
Custom Search