alphafold icon indicating copy to clipboard operation
alphafold copied to clipboard

ModuleNotFoundError: No module named 'tree'

Open adokhugi opened this issue 1 year ago • 1 comments

Microsoft Windows [Version 10.0.22631.4460] (c) Microsoft Corporation. Alle Rechte vorbehalten.

C:\Users\Acer\source\repos\alphafold>python run_alphafold_test.py Traceback (most recent call last): File "C:\Users\Acer\source\repos\alphafold\run_alphafold_test.py", line 22, in import run_alphafold File "C:\Users\Acer\source\repos\alphafold\run_alphafold.py", line 31, in from alphafold.common import protein File "C:\Users\Acer\source\repos\alphafold\alphafold\common\protein.py", line 23, in from alphafold.common import residue_constants File "C:\Users\Acer\source\repos\alphafold\alphafold\common\residue_constants.py", line 23, in import tree ModuleNotFoundError: No module named 'tree'

C:\Users\Acer\source\repos\alphafold>

I tried pip install dm-tree, it did not help.

adokhugi avatar Dec 09 '24 09:12 adokhugi

Hi! I’ve submitted a pull request that resolves this issue: #1080 It includes a fix for the tree module error and also addresses pdbfixer installation on Windows. All tests passed, and a Windows-specific installation guide has been added to the README. Would appreciate it if someone could take a look! 🙏

praharsh777 avatar Apr 13 '25 13:04 praharsh777

@Augustin-Zidek I believe we can close this: https://github.com/google-deepmind/alphafold/pull/1080#issuecomment-3308486552.

rpachauri avatar Sep 24 '25 19:09 rpachauri

Fixed by @rpachauri in https://github.com/google-deepmind/alphafold/commit/dffd48ab62556662fb76bd57e08ad113df1d3807. Thanks!

Augustin-Zidek avatar Sep 25 '25 09:09 Augustin-Zidek