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

Re: [modeller_usage] error in using mutate_model



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.

	Ben Webb, Modeller Caretaker
--
             http://www.salilab.org/modeller/
Modeller mail list: http://salilab.org/mailman/listinfo/modeller_usage