[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[modeller_usage] ImportError: No module named automodel...



hi!
i've just installed modeller9v1 from the source code on a x386 pc...
everything went fine, but as i run mod9v1 xxx.py, i get this message:

Traceback (most recent call last):
 File "<string>", line 1, in ?
 File "/home/teo/_work/_m-i7/modeller.py", line 3, in ?
   from modeller.automodel import *    # Load the automodel class
ImportError: No module named automodel

i'm just using the default script file, with the proper file name:

# Homology modeling by the automodel class
from modeller import *              # Load standard Modeller classes
from modeller.automodel import *    # Load the automodel class

log.verbose()    # request verbose output
env = environ()  # create a new MODELLER environment to build this model in

# directories for input atom files
env.io.atom_files_directory = './:/home/teo/_work/_m-i7/'

a = automodel(env,
             alnfile  = 'm-i7.ali',     # alignment filename
             knowns   = '1f88',              # codes of the templates
             sequence = 'm-i7')              # code of the target
a.starting_model= 1                 # index of the first model
a.ending_model  = 1                 # index of the last model
                                   # (determines how many models to calculate)
a.make()                            # do the actual homology modeling

can anybody help me?
many thanks
matteo