OrthoFinder icon indicating copy to clipboard operation
OrthoFinder copied to clipboard

ModuleNotFoundError: No module named 'scripts_of'

Open caonetto opened this issue 1 year ago • 1 comments

Hi, Im trying to use the create_files_for_hogs.py script to get the OGs fastas from the N0s but I am getting the following error.

from scripts_of import util, trees_msa, orthologues, files ModuleNotFoundError: No module named 'scripts_of'

I have the most recent 3.0.1b1 version installed through conda. Is the module 'scripts_of' not included in this version?

Thank you.

caonetto avatar Oct 16 '24 23:10 caonetto

Hi

Thanks for reporting this, it sounds like a problem with setting up the PYTHONPATH correctly, let me look into what's caused it. In the meantime, if you're able to find the location of othofinder and the scripts_of folder on your machine (e.g. /x/y/z) and add to it the environment variable that might make the script runnable for you: export PYTHONPATH=$PYTHONPATH:/x/y/z

Thanks David

davidemms avatar Oct 20 '24 15:10 davidemms