VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Wed Jan 30 2008 - 10:29:49 CST
- Next message: Per Jr. Greisen: "Re: Sasa script in python returns "Runtime error""
- Previous message: Axel Kohlmeyer: "Re: Sasa script in python returns "Runtime error""
- In reply to: brmorgan_at_clarku.edu: "'gopython' Tkinter and Numeric Python error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi,
For the precompiled VMD 1.8.6 distribution, please use the Python libraries
we've made available on the web site:
http://www.ks.uiuc.edu/Research/vmd/plugins/pythonlib/
The instructions for setting up the environment variables are in
the User's Guide here (see the first section there):
http://www.ks.uiuc.edu/Research/vmd/current/ug/node145.html
Cheers,
John Stone
vmd_at_ks.uiuc.edu
On Mon, Jan 28, 2008 at 10:55:36AM -0500, brmorgan_at_clarku.edu wrote:
> Hi,
> When I try to switch over to the Python interpreter using 'gopython', the
> following error occurs:
>
> File "<string>", line 1, in ?
> File "/home/brittanym/vmd-1.8.6/python/Tkinter.py", line 62, in ?
> from types import *
> ImportError: No module named types
>
> I have read in the archives that changing PYTHONHOME and PYTHONPATH
> variables can fix similar problems. I have tried setting PYTHONHOME to
> /usr/local/bin, the same directory as PYTHONPATH, and a few other
> variations with no change. If PYTHONPATH isn't set to the location of the
> Tkinter.py module above, I get an error stating _tkinter cannot be found.
> The version of python installed on my system independent of VMD has a
> module named types, but is it possible to have two locations specified for
> VMD to look for modules?
>
> The other error I get is:
> Could not find Numeric Python version >= 22.0
> ImportError: No module named numeric_version
> My second questions is where should numpy be installed so that VMD will
> locate it, and do I need to change the name or do something beyond the
> typical module installation?
>
> Thanks,
> Brittany Morgan
-- 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: Per Jr. Greisen: "Re: Sasa script in python returns "Runtime error""
- Previous message: Axel Kohlmeyer: "Re: Sasa script in python returns "Runtime error""
- In reply to: brmorgan_at_clarku.edu: "'gopython' Tkinter and Numeric Python error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]