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 autheticate #76

Open
Signorini opened this issue Jun 20, 2018 · 5 comments
Open

Cannot import name autheticate #76

Signorini opened this issue Jun 20, 2018 · 5 comments

Comments

@Signorini
Copy link

I try to using mg connector with neo4j

File "/Users/signorini/Jobs/www/maestro/mongo-connector/lib/python3.6/site-packages/mongo_connector/doc_managers/neo4j_doc_manager.py", line 16, in
from py2neo import Graph, authenticate
ImportError: cannot import name 'authenticate'

py2neo == 4.0.0
mongo-connector==2.5.1
more-itertools==4.2.0
neo4j-doc-manager==1.0.0.dev11
neo4j-driver==1.6.0

Made some searchs, i find some anwsers, but this is new version, with same problems..

@appupulla
Copy link

Same error. Any solution?

@HelloDivyani
Copy link

Same Error Any Solution

@HelloDivyani
Copy link

I found the solution
This is problem of py2neo version4
Uninstall current version
pip uninstall py2neo
Install versipn 2.0.8
pip install py2neo==2.0.8
I worked for me!!!
Hope it work for you!!!

@fryguy04
Copy link

I was running into same error with py2neo 4.1.0 ... uninstalled then installed v2.0.8 as @HelloDivyani mentioned and worked ... seems to be a bug in v4

@liviu-
Copy link

liviu- commented Dec 11, 2018

In v4, instead of using authenticate, I connect using the following:

graph = Graph(host=HOST, auth=(USER, PASS)) 

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

5 participants