From: John Stone (johns_at_ks.uiuc.edu)
Date: Mon Jan 23 2012 - 16:35:53 CST

Hi,
  Just to verify, you get no errors when you start VMD with no other
flags, right?

Cheers,
  John Stone
  vmd_at_ks.uiuc.edu

On Mon, Jan 23, 2012 at 02:36:19PM -0700, Wim R. Cardoen wrote:
> Hello,
>
> I compiled vmd version 1.9 from source (advised by Dr. Stone when heavy
> python use is prevalent)
> The configure options were:
> LINUXAMD64 FLTK TK NETCDF TCL PYTHON PTHREADS NUMPY
>
> However, when I invoke the python script trial.py in vmd:
> 'vmd -dispdev text -python -e trial.py'
> of which the first lines are:
>
> -----------------------------------------------------------------------------------
> import sys
> import optparse
> from atomsel import *
> from atomsel import AtomSel
> from Molecule import Molecule
> from VMD import evaltcl
> --------------------------------------------------------------------------------
>
> I immediately get the following error:
> --------------------------------------------------------------------------------
> vmd -dispdev text -python -e trial.py
> Info) VMD for LINUXAMD64, version 1.9 (January 23, 2012)
> Info) http://www.ks.uiuc.edu/Research/vmd/
> Info) Email questions and bug reports to vmd_at_ks.uiuc.edu
> Info) Please include this reference in published work using VMD:
> Info) Humphrey, W., Dalke, A. and Schulten, K., `VMD - Visual
> Info) Molecular Dynamics', J. Molec. Graphics 1996, 14.1, 33-38.
> Info) -------------------------------------------------------------
> Info) Multithreading available, 8 CPUs detected.
> Info) Free system memory: 11100MB (92%)
> Info) Starting Python...
> Info) Text interpreter now Python
> Traceback (most recent call last):
> File "VMD", line 7, in <module>
> ImportError: cannot import name AtomSel
> ----------------------------------------------------------------------------------
>
> The python script AtomSel.py is present in the lib/vmd/scripts/python
> subdirectory of vmd.
>
> Any suggestions?
>
> Thanks,
>
> Wim

-- 
NIH Resource for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
http://www.ks.uiuc.edu/~johns/           Phone: 217-244-3349
http://www.ks.uiuc.edu/Research/vmd/       Fax: 217-244-6078