LirongWu / Prompt-DDG

Code for ICML 2024 paper "Learning to Predict Mutational Effects of Protein-Protein Interactions by Microenvironment-aware Hierarchical Prompt Learning"
MIT License
31 stars 5 forks source link

Dependices conflict error #1

Closed HaoDingg closed 4 months ago

HaoDingg commented 4 months ago

I use the exact same environment.yaml file to create the environment and found missing module nni. Tried to install newest version nni but it conflicts with numpy version 1.20.1 and automatically installed a 2.0.0 numpy. Could you add the correct nni version to the environment?

Thanks for your great work by the way.

HaoDingg commented 4 months ago

okay i just solved this by install numpy==1.26.4. Module easydict is also missed by the way. After installing latest nni and easydict, then change numpy version to 1.26.4, I can run this project successfully.

HaoDingg commented 4 months ago

And pip install mkl==2024.0 to solve a strange import torch error which is said in the issue https://github.com/pytorch/pytorch/issues/123097

LirongWu commented 4 months ago

Thank you very much for the heads up, we have added the easydict. Additionally the nni package is not a required item, and I've removed the call to this package from the code for now.