Hello
I am pretty new to both python and pythonanywhere so possibly I am missing something obvious. I am trying to set up a connection to a GrapheneDB neo4j instance using the py2neo driver.
I have:
- created a virtual environment (following the pythonanywhere instructions)
- activated the new environement with 'workon venv;
- run pip install py2neo
- followed the instructions at https://docs.graphenedb.com/docs/python#section-py2neo-v3 (substituting my server and user name details)
When I reload the app I get the following in the error log:
2018-07-18 12:54:44,499: Error running WSGI application
2018-07-18 12:54:44,502: ImportError: cannot import name 'authenticate'
2018-07-18 12:54:44,502: File "/var/www/jirosmunro_pythonanywhere_com_wsgi.py", line 18, in <module>
2018-07-18 12:54:44,503: from flask_app import app as application # noqa
2018-07-18 12:54:44,503:
2018-07-18 12:54:44,503: File "/home/JirosMunro/squares/flask_app.py", line 6, in <module>
2018-07-18 12:54:44,503: from py2neo import authenticate, Graph, Node, Relationship
2018-07-18 12:54:44,503: ***************************************************
2018-07-18 12:54:44,503: If you're seeing an import error and don't know why,
2018-07-18 12:54:44,503: we have a dedicated help page to help you debug:
2018-07-18 12:54:44,503: https://help.pythonanywhere.com/pages/DebuggingImportError/
2018-07-18 12:54:44,503: ***************************************************
I cannot find much on Google other than the same instructions about importing authenticate so was hoping someone may be able to point me in the right direction.
Many thanks