On Tue, Aug 4, 2015 at 11:07 AM, Pawan K. Gupta
<pawanpharma79@yahoo.co.in> wrote:
> Could not find platform independent libraries <prefix>
> Could not find platform dependent libraries <exec_prefix>
> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
> 'import site' failed; use -v for traceback
That looks like there is a problem with your Modeller installation.
Which operative system are you using?
> File "Sec-struct-restrain-copy.py", line 10
> def special_restraints(self, aln):
> ^
> IndentationError: expected an indented block
As the error says, the indentation is wrong. It should be:
class MyModel (automodel):
def special_restraints(self, aln):
rsr.add(secondary_structure.alpha(self.residue_range(’10:’, ’30:’)))
Note that in Python indentation is part of the semantics.
/David.