I have a mistake about rosetta.init() as ‘AttributeError:’module’ object has no attribute ‘init”.
From rosetta import * ; from pyrosetta import * and pyrosetta.init() are all fine. My os is ubuntu 16.04. Pyrosetta is ‘PyRosetta4.Release.python27.ubuntu.release-151.tar.bz2’.
You’ll want to remove the pyrosetta component and just do init. It is not needed with PyRosetta-4.
I’m not sure about pose_from_pdb, that may not have been ported when we updated the underlying machinery for importing PDBs in order to be able to load mmCIF files. You’ll want to do protease = pose_from_pdb(“path_to_my_file.pdb”)