VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Thu Jul 01 2010 - 10:23:41 CDT
- Next message: John Stone: "Re: Tachyon Rendering with a Surf Representation"
- Previous message: John Stone: "Re: VMD / Tachyon Questions"
- In reply to: Seth Burleigh: "getting python to work"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi,
If you want to use VMD with Python, the current best approach
is to:
1) Get your favorite version of Python installed, along with the
various required modules, along with a Tcl/Tk 8.5.x version that
is compatible with the tkinter module you're going to use.
2) Compile VMD from source code, against your locally installed
Tcl/Tk and Python, etc.
So long as you have all of the pieces compiled correctly, it should
work fine. The trouble usually comes in when Python and Tk don't get along,
numpy/numeric aren't installed, or similar issues.
Cheers,
John Stone
vmd_at_ks.uiuc.edu
On Tue, Jun 29, 2010 at 11:20:09AM -0500, Seth Burleigh wrote:
> Im trying to get python to work on ubuntu 10.04. Ive downgraded to
> python2.5, installed python-tk, and import Tkinter works when i type
> python into the command prompt. However, when i do vmd -python, i get the
> error ImportError:/usr/lib/python2.5/lib-dynload/_tkinter.so: undefined
> symbol: PyFPE_jbuf.
> I also deleted vmd's custom version of Tkinter, which i thought was
> causing the problem at first, so its using the tkinter installed with
> python2.5
> I also tried checking where the executable it was using was located, it
> was /usr/bin/python, which was wrong since that was python2.6 on my
> system, so i made a symbolic link from /usr/bin/python to python2.5, and
> it still didn't work! (same error)..
> Anyone?
-- NIH Resource for Macromolecular Modeling and Bioinformatics Beckman Institute for Advanced Science and Technology University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801 Email: johns_at_ks.uiuc.edu Phone: 217-244-3349 WWW: http://www.ks.uiuc.edu/~johns/ Fax: 217-244-6078
- Next message: John Stone: "Re: Tachyon Rendering with a Surf Representation"
- Previous message: John Stone: "Re: VMD / Tachyon Questions"
- In reply to: Seth Burleigh: "getting python to work"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]