Member Site › Forums › Rosetta 3 › Rosetta 3 – General › Error score_scatter_plot.py
- This topic has 2 replies, 2 voices, and was last updated 8 years, 8 months ago by Anonymous.
-
AuthorPosts
-
-
December 30, 2015 at 1:46 pm #2356Anonymous
Hi guys,
I’m using a tutorial for analysis my results of abinitio, in the step for “identify the best socring models” using this script “~/rosetta_workshop/Rosetta/main/source/bin/combine_silent.default.linuxgccrelease -database ~/rosetta_workshop/Rosetta/main/database/ -in:file:silent 2LZM_0*.out -in:file:silent_struct_type binary -in:file:fullatom -out:output -out:file:silent 2LZM_all_models_silent.out -out:file:silent_struct_type binary -out:file:fullatom“
I has this error
Traceback (most recent call last):
File “/home/jrcf/rosetta/tools/protein_tools/scripts/score_scatter_plot.py”, line 3, in <module>
from rosettautil.rosetta import rosettaScore
ImportError: No module named rosettautil.rosetta
Using the command line of python i found this.
>>> from optparse import OptionParser
>>> from rosettautil.rosetta import rosettaScore
Traceback (most recent call last):
File “<stdin>”, line 1, in <module>
ImportError: No module named rosettautil.rosetta
>>> from rosettautil.rosetta import rosettaScore
Traceback (most recent call last):
File “<stdin>”, line 1, in <module>
ImportError: No module named rosettautil.rosetta
>>> from rosettautil.util import fileutil
Traceback (most recent call last):
File “<stdin>”, line 1, in <module>
ImportError: No module named rosettautil.util
What could be this error?
thanks
-
January 4, 2016 at 4:03 pm #11388Anonymous
Some of the scripts in the Rosetta tools directory use Python modules in the tools directory. Python may need to be told where to find them, via the PYTHONPATH mechanism.
You’ll need to add the absolute path of the Rosetta/tools/protein_tools/ directory to your PYTHONPATH environment variable. How to do this is shell dependent, but for bash it would looks something like:
export PYTHONPATH=$PYTHONPATH:/home/jrcf/Rosetta/tools/protein_tools/
You’ll need to do this once for each terminal session in which you use the scripts. Alternatively, you can add it to your .bashrc (or equivalent for your current shell), and it will be automatically loaded for you.
-
February 13, 2016 at 12:41 am #11435Anonymous
Thanks RMORETTI
-
-
AuthorPosts
- You must be logged in to reply to this topic.