From: John Stone (johns_at_ks.uiuc.edu)
Date: Fri Oct 28 2005 - 09:43:13 CDT

Craig,
  Did you install the Python libraries for VMD that are posted here?:
http://www.ks.uiuc.edu/Research/vmd/plugins/pythonlib/

Check that and let me know.
  
  John Stone
  vmd_at_ks.uiuc.edu

On Thu, Oct 27, 2005 at 10:13:25PM -0700, Craig Maloney wrote:
> Hi all.
>
> I can't seem to get the python interpreter working on my laptop. My
> office machine (also 10.4) gives similar error messages (can't fine
> Numeric, TkInter etc.) but in the end I am able to successfully do
> stuff there (draw graphics primitives, load molecules, etc.). Here I
> cannot even get a "dir(VMD)". Does anyone know what could be wrong?
>
> Thanks much.
>
> Craig
>
> -------------------------------
> 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
> Could not find Numeric Python version 22.0.
> ImportError: No module named numeric_version
> Info) Text interpreter now Python
> Traceback (most recent call last):
> File "<string>", line 1, in ?
> File "/Users/maloney/download/VMD 1.8.4a22.app/Contents/vmd/
> scripts/python/Tkinter.py", line 59, in ?
> import _tkinter # If this fails your Python may not be
> configured for Tk
> ImportError: No module named _tkinter
> >>> dir(VMD)
> Traceback (most recent call last):
> File "VMD", line 1, in ?
> NameError: name 'VMD' is not defined
>

-- 
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