Member Site › Forums › PyRosetta › PyRosetta – Scripts › error running folding script on windows
when i run the sample folding script you can find on http://www.pyrosetta.org/scripts i get this error:
Traceback (most recent call last):
File “C:Python27folding.py”, line 510, in
PyMOL_Mover_ip , disulfides )
File “C:Python27folding.py”, line 212, in sample_folding
pyobs = PyMOL_Observer()
File “C:Program Files (x86)PyRosettarosetta__init__.py”, line 996, in __init__
self.pymol = rosetta.PyMOL_Mover(keep_history=keep_history)
TypeError: __init__() got an unexpected keyword argument ‘keep_history’
does anybody know how to solve it?
What version of PyRosetta are you using (there were some changes to the PyMOL_Mover to the newest one)? I’ve run into this issue before, and I either had a version mismatch or I went into the __init__.py file and modified it till I got it to work…
This error got fixed in recent builds (Mac and Linux only for now, windows version will come soon). So please try to upgrade you PyRosetta version and see if it fix it.