RFDesign icon indicating copy to clipboard operation
RFDesign copied to clipboard

ModuleNotFoundError: No module named 'tree'

Open jnoske opened this issue 3 years ago • 2 comments

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

jnoske avatar Aug 22 '22 11:08 jnoske

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 https://github.com/RosettaCommons/RFDesign/issues/22, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABCU54J2UBJLVCQUSOXRD3V2NTHLANCNFSM57HME7PQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

jueseph avatar Aug 22 '22 17:08 jueseph

Thanks a lot that was missing.

jnoske avatar Aug 23 '22 08:08 jnoske