ModuleNotFoundError: No module named 'tree'
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
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: @.***>
Thanks a lot that was missing.