From: Giacomo Fiorin (giacomo.fiorin_at_gmail.com)
Date: Tue Jul 11 2017 - 07:39:33 CDT

Please read the error message:

*Could not find platform independent libraries <prefix>Could not find
platform dependent libraries <exec_prefix>Consider setting $PYTHONHOME to
<prefix>[:<exec_prefix>]*
and the relevant section of the VMD user's guide:

*Pre-compiled VMD binaries currently use Python version 2.5. The current
VMD source code has been tested to compile with Python versions 2.4 to 2.6
on a few platforms. User contributed VMD rpm or deb packages can be thus be
compiled against any of those versions.*

Giacomo

On Tue, Jul 11, 2017 at 1:45 AM, Pallab Dutta <pilepilu_at_gmail.com> wrote:

> Dear VMD experts,
>
> I was going to use vmd-1.9.3 with python, in linux. But it couldn't import
> any python module and showing the following error --
> ------------------------------------------------------------
> ------------------------------------------------------------
> --------------------
> vmd > gopython
> Info) Starting Python...
> Could not find platform independent libraries <prefix>
> Could not find platform dependent libraries <exec_prefix>
> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
> 'import site' failed; use -v for traceback
> Traceback (most recent call last):
> File "<string>", line 1, in <module>
> ValueError: vmdnumpy module not available.
> Info) Text interpreter now Python
> Traceback (most recent call last):
> File "<string>", line 1, in <module>
> File "/usr/local/lib/vmd/scripts/python/Tkinter.py", line 59, in
> <module>
> import _tkinter # If this fails your Python may not be configured for
> Tk
> ImportError: No module named _tkinter
> >>>
> ------------------------------------------------------------
> ------------------------------------------------------------
> -------------------
> Please help me to fix this problem.
>
>
> Pallab Dutta
> student, IISER-kolkata
>

-- 
Giacomo Fiorin
Associate Professor of Research, Temple University, Philadelphia, PA
Contractor, National Institutes of Health, Bethesda, MD
http://goo.gl/Q3TBQU
https://github.com/giacomofiorin