Dear all,

when i attempt to run modeller through chimera interface (local) it works, but when i attempt to run my own script i get:

Traceback (most recent call last):
  File "modeller.py", line 1, in <module>
    from modeller import *
  File "/home/harald/Desktop/Projectfiles/Repo/Input files/5xwp/modeller.py", line 3, in <module>
    env = environ()
NameError: name 'environ' is not defined

The script i run is:

from modeller import *

env = environ()

aln = alignment(env)
mdl = model(env, file='5xwp_all_4', model_segment=('FIRST:A','LAST:A'))
aln.append_model(mdl, align_codes='5xwpA', atom_files='5xwp_all_4.pdb')
aln.append(file='sequence.ali', align_codes='sequence')
aln.align2d()
aln.write(file='TvLDH-1bdmA.ali', alignment_format='PIR')
aln.write(file='TvLDH-1bdmA.pap', alignment_format='PAP')

My installation was successful but something is wrong.