From: Albert (mailmd2011_at_gmail.com)
Date: Mon Apr 02 2012 - 11:28:14 CDT

Hello:
   I started vmd in terminal by type vmd and then type gopython and it said:

/Traceback (most recent call last):
   File "<string>", line 1, in <module>
   File "/soft/vmd-1.9.1/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

/However, I found that the _tiknter for python is already installed in
my SUSE LINUX OS:

//usr/lib64/python2.7/lib-dynload/_tkinter.so
/usr/lib64/python2.7/lib-tk /

//

//usr/lib/python2.7/site-packages/Pmw /

//usr/lib64/python3.1/lib-dynload/_tkinter.so
/usr/lib64/python3.1/tkinter/

I added the following line to bin/vmd.csh

setenv PYTHONHOME /usr/lib64/python2.7

and made the following modification:

/setenv defaultvmddir /soft/vmd-1.9.1
setenv vmdbasename vmd/

but the problem is still there.

Does anybody have any idea how to solve it?

THX