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

深度os python2.7.13报错 #6

Open
snailrobert opened this issue Jan 8, 2020 · 2 comments
Open

深度os python2.7.13报错 #6

snailrobert opened this issue Jan 8, 2020 · 2 comments

Comments

@snailrobert
Copy link

Traceback (most recent call last):
File "local_graph.py", line 202, in
g.import_data(data)
File "local_graph.py", line 50, in import_data
for n in self.G.nodes():
RuntimeError: dictionary changed size during iteration

修改成list包装后,报错:
Traceback (most recent call last):
File "local_graph.py", line 202, in
g.import_data(data)
File "local_graph.py", line 57, in import_data
self.max_degree_value = max(self.degree.values())
AttributeError: 'DegreeView' object has no attribute 'values'

@snailrobert
Copy link
Author

希望能帮助解决一下,谢谢。

@xiaoxiaoyao
Copy link

这个项目应该早就不更新了,淡定自己写吧
@snailrobert

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

2 participants