RosettaCommons / RFDesign

Protein hallucination and inpainting with RoseTTAFold
Other
234 stars 67 forks source link

ModuleNotFoundError: No module named 'tree' #22

Open jnoske opened 2 years ago

jnoske commented 2 years ago

Hi,

When I want to run the script af2_metrics.py, I get the following ModuleNotFoundError:

Traceback (most recent call last): File "/sw/sci/app/rfdesign/RFDesign/scripts/af2_metrics.py", line 34, in <module> from alphafold.common import protein File "/sw/sci/app/rfdesign/RFDesign/scripts/../hallucination/models/alphafold/alphafold/common/protein.py", line 19, in <module> from alphafold.common import residue_constants File "/sw/sci/app/rfdesign/RFDesign/scripts/../hallucination/models/alphafold/alphafold/common/residue_constants.py", line 22, in <module> import tree ModuleNotFoundError: No module named 'tree'

The environment was set up from the .yml, but I looks like this module is not included.

Best, Jakob

jueseph commented 2 years ago

Sorry, not sure why this isn't in the environment yaml.

Easiest is probably just to install it yourself: pip install dm-tree

On Mon, Aug 22, 2022 at 4:56 AM Jakob Noske @.***> wrote:

Hi,

When I want to run the script af2_metrics.py, I get the following ModuleNotFoundError:

Traceback (most recent call last): File "/sw/sci/app/rfdesign/RFDesign/scripts/af2_metrics.py", line 34, in

from alphafold.common import protein File "/sw/sci/app/rfdesign/RFDesign/scripts/../hallucination/models/alphafold/alphafold/common/protein.py", line 19, in from alphafold.common import residue_constants File "/sw/sci/app/rfdesign/RFDesign/scripts/../hallucination/models/alphafold/alphafold/common/residue_constants.py", line 22, in import tree ModuleNotFoundError: No module named 'tree' The environment was set up from the .yml, but I looks like this module is not included. Best, Jakob — Reply to this email directly, view it on GitHub , or unsubscribe . You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
jnoske commented 2 years ago

Thanks a lot that was missing.