[MMTK] error installing new version

Lars Skjærven larsss at gmail.com
Thu May 31 13:09:34 UTC 2007


Hi,

I am upgrading to MMTK 2.5 and Python 2.5. Its not going too well. :-(

I have installed the following versions as suggested on the home page:
- Python 2.5.1
- MMTK 2.5.19
- Numeric 23.8.2
- numpy 1.0.3
- ScientificPython 2.6

The installation went without any errors, and I followed the  
instructions, at least as far as I can see. ;-)

Below is a cut-and-paste from the terminal. As you can see, importing  
the NormalModes module results in error. :-(

Hoping for some good tips here.

Thanks,
Lars Skjærven

-------

lars at lars-desktop:~$ python
Python 2.5.1 (r251:54863, May 31 2007, 12:21:14)
[GCC 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> import numpy
 >>> from MMTK import *
 >>> from MMTK.Proteins import Protein
 >>> from MMTK.NormalModes import NormalModes
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "/usr/local/lib/python2.5/site-packages/MMTK/NormalModes/ 
__init__.py", line 3, in <module>
     from MMTK.NormalModes.EnergeticModes import EnergeticModes
   File "/usr/local/lib/python2.5/site-packages/MMTK/NormalModes/ 
EnergeticModes.py", line 11, in <module>
     from MMTK.NormalModes import Core
   File "/usr/local/lib/python2.5/site-packages/MMTK/NormalModes/ 
Core.py", line 17, in <module>
     if N.package == "NumPy":
AttributeError: 'module' object has no attribute 'package'
 >>> from NormalModes import NormalModes
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
ImportError: No module named NormalModes


More information about the mmtk mailing list