VMD-L Mailing List
From: Scott Stagg (scott.stagg_at_biology.gatech.edu)
Date: Fri Mar 21 2003 - 10:16:14 CST
- Next message: John Stone: "Re: Missing vmdplugin.h in VMD source code"
- Previous message: John Stone: "Re: PBC - setting box size"
- Next in thread: John Stone: "Re: Can't import python math module"
- Reply: John Stone: "Re: Can't import python math module"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
I am using VMD on Mac OS 10.2.4. After I "gopython", when I try to
"import math", I get:
Traceback (most recent call last):
File "VMD", line 1, in ?
ImportError: Failure linking new module
I can "import sys" with no problem, and outside of the VMD interface I
can "import math" with no problem. When I "print sys.path", this is
what I get:
['', '/Users/sstagg/pylib', '/Applications/vmd-1.8/VMD
1.8.app/Contents/Resources/vmd/scripts/python',
'/Applications/vmd-1.8/VMD
1.8.app/Contents/Resources/vmd/plugins/noarch/python',
'/usr/lib/python2.2', '/usr/lib/python2.2/plat-darwin',
'/usr/lib/python2.2/lib-tk', '/usr/lib/python2.2/lib-dynload',
'/usr/lib/python2.2/site-packages']
Anybody have any ideas how I can "import math"?
Thanks,
Scott
- Next message: John Stone: "Re: Missing vmdplugin.h in VMD source code"
- Previous message: John Stone: "Re: PBC - setting box size"
- Next in thread: John Stone: "Re: Can't import python math module"
- Reply: John Stone: "Re: Can't import python math module"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]