VMD-L Mailing List
From: Dr. Seth Olsen (seth.olsen_at_gmail.com)
Date: Tue Sep 19 2006 - 22:19:02 CDT
- Next message: John Stone: "Re: importing VMD python modules from external interpreterr"
- Previous message: Akshay Patny: "RE: Centering GPCR onto Lipid Bilayer"
- Next in thread: John Stone: "Re: importing VMD python modules from external interpreterr"
- Reply: John Stone: "Re: importing VMD python modules from external interpreterr"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
HI VMDers,
I've recently tried to import startvmd.py and VMD.py in a
python2.4interpreter, and I've gotten errors that I can't seem to
ascribe to a
mismatch in the python versions.
For example:
>>> import startvmd
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/local/lib/vmd/scripts/python/startvmd.py", line 18, in ?
import vmd, select, threading, sys, os
ImportError: No module named vmd
I seemed to work around this by changing 'vmd' to 'VMD' in the
startvmd.pyfile. However, upon importing startvmd after this (or
importing
VMD.py) I got the error:
>>> import startvmd
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/local/lib/vmd/scripts/python/startvmd.py", line 18, in ?
import VMD, select, threading, sys, os
File "/usr/local/lib/vmd/scripts/python/VMD.py", line 27, in ?
import animate
ImportError: No module named animate
Which is interesting, because the VMD documentation mentions this module,
but I can't find it anywhere in my distribution. I am running VMD1.8.5 on a
P4 machine with FC5. VMD was installed from the precompiled binary.
Cheers,
Seth
-- ccmsccmsccmsccmsccmsccmsccmsccmsccmsccmsccmsccmsccmsccmsccmsccms Dr Seth Olsen, PhD Postdoctoral Fellow, Biomolecular Modeling Group Centre for Computational Molecular Science Australian Institute for Bioengineering and Nanotechnology (Bldg. 75) The University of Queensland Qld 4072, Brisbane, Australia tel (617) 3346 3976 fax (617) 33654623 email: s.olsen1_at_uq.edu.au Web: www.ccms.uq.edu.au ccmsccmsccmsccmsccmsccmsccmsccmsccmsccmsccmsccmsccmsccmsccmsccms The opinions expressed here are my own and do not reflect the positions of the University of Queensland.
- Next message: John Stone: "Re: importing VMD python modules from external interpreterr"
- Previous message: Akshay Patny: "RE: Centering GPCR onto Lipid Bilayer"
- Next in thread: John Stone: "Re: importing VMD python modules from external interpreterr"
- Reply: John Stone: "Re: importing VMD python modules from external interpreterr"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]