Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在创建图G时发生读取文件错误 #69

Open
through-the-valley opened this issue Aug 2, 2022 · 0 comments
Open

在创建图G时发生读取文件错误 #69

through-the-valley opened this issue Aug 2, 2022 · 0 comments

Comments

@through-the-valley
Copy link

(base) PS D:\pythontemp\gnnstudy\GraphEmbedding-master> & D:/anaconda3/python.exe d:/pythontemp/gnnstudy/GraphEmbedding-master/examples/deepwalk_wiki.py
Traceback (most recent call last):
File "d:\pythontemp\gnnstudy\GraphEmbedding-master\examples\deepwalk_wiki.py", line 45, in
G = nx.read_edgelist('../data/wiki/Wiki_edgelist.txt',
File "D:\anaconda3\lib\site-packages\networkx\utils\decorators.py", line 816, in func
return argmap._lazy_compile(__wrapper)(*args, **kwargs)
File "<class 'networkx.utils.decorators.argmap'> compilation 5", line 3, in argmap_read_edgelist_1
File "D:\anaconda3\lib\site-packages\networkx\utils\decorators.py", line 189, in _open_file
fobj = _dispatch_dict[ext](path, mode=mode)
FileNotFoundError: [Errno 2] No such file or directory: '../data/wiki/Wiki_edgelist.txt'

检查了下这个文件是存在的,路径也没有修改过,其他几种算法也都是这样打不开文件,请问有人有头绪吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant