Subject: Re: [modeller_usage] error in using mutate_model
From: Modeller Caretaker <>
Date: Tue, 23 Mar 2010 11:07:12 -0700
Cc:
On 03/23/2010 06:06 AM, Anna Marabotti wrote:
I tried to model a mutant of a protein using the mutate_model.py script
available in the Wiki section of MODELLER site at:
http://www.salilab.org/modeller/wiki/Mutate%20model. Therefore, after
copying the script on a executable file, I opened the black window to
launch Modeller commands and typed, as suggested:
python mutate_model.py my_modelname my_respos my_resname my_chain >
my_log.log
but obtained the error: "python is not recognized as internal and/or
external command, or as an executable, or as a batch file" despite I
have Python installed on my PC.
It looks like you have a Windows machine. You probably need the full
path for Python, e.g. on my machine it is C:\python26\python.exe
I also tried to launch the command without "python" and typed:
mutate_model.py my_modelname my_respos my_resname my_chain > my_log.log
and this time the error was:
File "C:\Programmi\Modeller9v7\mutate_model.py", line 4, in <module>
from modeller import *
File "C:\Programmi\Modeller9v7\modlib\modeller\__init__.py", line 69, in
<module>
import _modeller
ImportError: No module named _modeller
My best guess here would be that you have Python 3 installed on your
machine. Python 3 is very different to Python 2; Modeller only works
with Python 2.