aditya-grover / node2vec

http://snap.stanford.edu/node2vec/
MIT License
2.65k stars 914 forks source link

im recieving this error #118

Open hrdiva opened 3 years ago

hrdiva commented 3 years ago

!python node2vec/src/main.py --input diseasome.edgelist --output diseasome.emb --dimensions 32 --num-walks 20 --iter 10

Traceback (most recent call last): File "node2vec/src/main.py", line 15, in import node2vec File "/content/node2vec/src/node2vec.py", line 46 print 'Walk iteration:' ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print('Walk iteration:')?

networks1 commented 1 year ago

This was apparently written for Python2