thunlp / OpenNE

An Open-Source Package for Network Embedding (NE)
MIT License
1.68k stars 485 forks source link

some problem about installing #49

Closed jerrywu65 closed 6 years ago

jerrywu65 commented 6 years ago

I cloned it to my server(Ubuntu 16.04.4 LTS).Here is the path “/home/ruancy/wrj/OpenNE-master/” I input “python setup.py install” to install.Then I input "python -m openne --help" I get an error,Here it is: Traceback (most recent call last): File "/home/ruancy/anaconda3/lib/python3.6/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/home/ruancy/anaconda3/lib/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/ruancy/anaconda3/lib/python3.6/site-packages/openne-0.0.0-py3.6.egg/openne/main.py", line 7, in import node2vec ModuleNotFoundError: No module named 'node2vec'

zzy14 commented 6 years ago

Hi, I have updated the code. You can try it again. Let me know if you have any questions.

jerrywu65 commented 6 years ago

Hi, I have updated the code. You can try it again. Let me know if you have any questions. Thank you ! now I can run the example successfully.Could you tell me how to run .edgelist file,such as data/karate/karate.edgelist?

zzy14 commented 6 years ago

Hi, I have updated the code. You can try it again. Let me know if you have any questions. Thank you ! now I can run the example successfully.Could you tell me how to run .edgelist file,such as data/karate/karate.edgelist?

Use these args: --graph-format edgelist --input data/karate/karate.edgelist