VMD-L Mailing List
From: Ryan Pavlovicz (pavlovicz.7_at_osu.edu)
Date: Thu Oct 09 2008 - 15:21:15 CDT
- Next message: Axel Kohlmeyer: "Re: loading python"
- Previous message: Axel Kohlmeyer: "Re: Density distribution plots"
- Next in thread: Axel Kohlmeyer: "Re: loading python"
- Reply: Axel Kohlmeyer: "Re: loading python"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi. I am having trouble loading python in VMD and am wondering if someone
can help me out.
When executing VMD from the command line with:
>VMD -python
Python will load, but with the following error messages:
'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 "/usr/local/lib/vmd/scripts/python/Tkinter.py", line 62, in ?
from types import *
ImportError: No module named types
from there i can import VMD without any problems, but cannot import other
modules such as numpy or fileinput.
If i exit out of this python session, then type 'python' in the vmd console,
VMD loads cleanly, however i cannot import the VMD module.
vmd >python
Python 2.5.1 (r251:54863, Sept 25 2007, 17:59:18)
[GCC 4.1.0 (SUSE Linux)] on linux2
>>> import VMD
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/vmd/scripts/python/VMD.py", line 27, in <module>
import animate
ImportError: No module name animate
Any suggestions on how to get python working with VMD cleanly? Thanks in
advance,
ryan
- Next message: Axel Kohlmeyer: "Re: loading python"
- Previous message: Axel Kohlmeyer: "Re: Density distribution plots"
- Next in thread: Axel Kohlmeyer: "Re: loading python"
- Reply: Axel Kohlmeyer: "Re: loading python"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]