Re: [AMBER] Could not import Amber Python modules! Centos 7

From: Suguna Sakkiah <ssakkiah.c4therapeutics.com>
Date: Fri, 4 Feb 2022 15:05:17 +0000

Hi,

Thanks for the suggestions. The $PYHTONPATH shows: /data/Amber/amber20/lib/python3.9/site-packages

As per your suggestion I changed the directory to $AMBERHOME/lib/python3.9/site-packages, and command "ls -l". Below the output

-rw-r--r-- 1 root root 308 Feb 3 19:13 AmberLite-16.0-py3.9.egg-info
-rw-r--r-- 1 root root 338 Feb 3 19:13 AmberUtils-21.0-py3.9.egg-info
-rw-r--r-- 1 root root 65 Feb 3 19:13 easy-install.pth
drwxr-xr-x 3 root root 4096 Feb 3 19:13 mdoutanalyzer
drwxr-xr-x 3 root root 4096 Feb 3 19:13 MMPBSA_mods
-rw-r--r-- 1 root root 336 Feb 3 19:13 MMPBSA.py-16.0-py3.9.egg-info
drwxr-xr-x 6 root root 4096 Feb 3 19:13 packmol_memgen
drwxr-xr-x 2 root root 4096 Feb 3 19:13 packmol_memgen-1.2.1rc0-py3.9.egg-info
drwxr-xr-x 16 root root 4096 Feb 3 19:13 parmed
-rw-r--r-- 1 root root 257 Feb 3 19:13 ParmEd-3.4.1-py3.9.egg-info
drwxr-xr-x 4 root root 4096 Feb 3 19:13 pdb4amber-20.1-py3.9.egg
drwxr-xr-x 2 root root 4096 Feb 3 19:13 __pycache__
drwxr-xr-x 7 root root 4096 Feb 3 19:13 pymsmt
-rw-r--r-- 1 root root 235 Feb 3 19:13 pyMSMT-20.0-py3.9.egg-info
drwxr-xr-x 4 root root 4096 Feb 3 19:13 pytraj-2.0.6-py3.9-linux-x86_64.egg
drwxr-xr-x 3 root root 4096 Feb 3 19:13 sander
-rw-r--r-- 1 root root 235 Feb 3 19:13 sander-16.0-py3.9.egg-info
drwxr-xr-x 3 root root 4096 Feb 3 19:13 sanderles
-rw-r--r-- 1 root root 526 Feb 3 17:18 sitecustomize.py

Regards
Suguna

From: David A Case <david.case.rutgers.edu>
Sent: Friday, February 4, 2022 8:52 AM
To: AMBER Mailing List <amber.ambermd.org>
Subject: Re: [AMBER] Could not import Amber Python modules! Centos 7

Email from external sender: david.case.rutgers.edu<mailto:david.case.rutgers.edu>

On Fri, Feb 04, 2022, Suguna Sakkiah wrote:

>Error: Could not import Amber Python modules!
> Probably your Amber Python environment was not set up correctly.
>I included either one lines in the bashrc file and try to test it. But not succeed
>
>export PYTHONPATH=$AMBERHOME/lib/python3.9/site-packages
>export PYTHONPATH=$AMBERHOME/lib/python3.9/site-packages:$PYTHONPATH

First, "echo $PYTHONPATH" right before you run the tests to make sure that
you have the above site-packages folder in the list.

If that doesn't help, cd to $AMBERHOME/lib/python3.9/site-packages, and
report what "ls -l" says in in there.

...good luck....dac


_______________________________________________
AMBER mailing list
AMBER.ambermd.org<mailto:AMBER.ambermd.org>
http://lists.ambermd.org/mailman/listinfo/amber

________________________________
C4 Therapeutics, Inc. Confidentiality Notice: This message is private and may contain confidential and proprietary information. If you have received this message in error, please notify us and remove it from your system and note that you must not copy, distribute or take any action in reliance on it. Any unauthorized use or disclosure of the contents of this message is not permitted and may be unlawful.
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Fri Feb 04 2022 - 07:30:02 PST
Custom Search