williamleif / GraphSAGE

Representation learning on large graphs using stochastic graph convolutions.
Other
3.41k stars 841 forks source link

No module named graphsage #169

Open ans92 opened 3 years ago

ans92 commented 3 years ago

Hi, Thank you for this great code. I am trying to running this code on google colab with python version 2.7. I am running this file: !bash /content/drive/MyDrive/GraphSAGE-master/example_supervised.sh And it is giving me following error: /usr/bin/python2: No module named graphsage

And when I try this command: !python -m /content/drive/MyDrive/GraphSAGE-master/graphsage/unsupervised_train.py --train_prefix ./example_data/ppi --model graphsage_mean --max_total_steps 1000 --validate_iter 10

Then I am getting following error: /usr/bin/python2: Import by filename is not supported.

Please help me how can I run the code in google colab. I would be very thankful to your for your help and support.