sunilkmaurya / GNN_Ranking

17 stars 7 forks source link

Providing a requirements.txt file for reproducibility #2

Open natema opened 11 months ago

natema commented 11 months ago

I encountered some problems trying to set up a python environment to run your code. In particular, you don't specify a NetworKit version and the last one that pip was trying to install was complaining about the Cython module missing (even though it was installed); additionally, after installing pytorch==0.4.1 your code (closeness.py) would complain that pytorch had been compiled without numpy support. In the end the following requirements worked:

Cython==3.0.5
networkit==10.0
networkx==2.6.3
numpy==1.21.6
scipy==1.7.3
torch==0.4.1.post2
sunilkmaurya commented 8 months ago

Sorry for my late response. Thanks for the information. I had added Torch version at the time as it had some breaking changes in the newer versions, and was not expecting it to be the case with NetworKit. I have added the link of this issue to the Readme file in case anyone else faces difficulty. Thanks again.