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

cannot import name 'NodeSelector' #1

Open
liutianling opened this issue Aug 28, 2018 · 3 comments
Open

cannot import name 'NodeSelector' #1

liutianling opened this issue Aug 28, 2018 · 3 comments

Comments

@liutianling
Copy link

非常感谢你的代码,逻辑很清晰。但是我这边遇到了这个问题,请问是怎么回事呢?

@Light-City
Copy link
Owner

您好才看到,这个代码版本使用的是py2neo为2.0.8版本,你有可能使用的高版本,请pip uninstall py2neo,然后pip install py2neo==2.0.8

@Jennifer1996
Copy link

我使用的是2.0.8版本,但是依旧无法导入NodeSelector,请问怎么回事呢?

@systemime
Copy link

py2neo经过实际测试,使用V3版本即3.1.2版本可导入NodeSelector,但是官方文档说明该版本仅支持到python3.5版本,实际3.6.7版本同样适用,而楼主在本代码样例中实际未使用NodeSelector库,所以,可以尝试删除该导入语句或安装py2neo3.1.2版本来解决该问题,命令pip install py2neo==3.1.2

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

4 participants