-
-
January 14, 2021 at 2:29 pm
KonohaHokage
SubscriberI am a new learner to python and to neo4j and I want to do the connection with Python. I am using neo4j version 3.0.3.I have written the code in Python file referring a tutorial from python programming tutorial, I have also changed the password, since my password is root:from neo4j.v1 import GraphDatabase, basic_authdriver = GraphDatabase.driver('bolt: //localhost, auth=basic_auth(user = neo4j, password = root))session = driver.session()session.run('CREATE (a:Person {name:'Bob'})')result = session.run('MATCH(a: Person) RETURN a.name AS name')for record in result: print(record['name'])session.close()But on running it, I am getting the following errors:nnTraceback (most recent call last): File 'D: /Work/MySQL_neo4j_Importer / dumping_ingredients.py', line 3, in session = driver.session() File 'C: /Python27/lib/ site - packages/ neo4j/ v1/session.py', line 148, in session session = Session(self) File 'C: /Python27/lib/ site - packages/ neo4j/ v/ session.py', line 461, in __init__ self.connection = connect(driver.host, driver.port, driver.ssl_context, **driver.config) File 'C: /Python27/ lib/ site - packages/ neo4j/v1/ connection.py', line 403, in connect s = create_connection((host, port)) File 'C: /Python27/lib/ socket.py', line 557, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM):socket.gaierror: [Errno 11004] getaddrinfo failed -
January 15, 2021 at 4:55 pm
KR
AdministratorHello,Which Ansys Product are you using? Karthik
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Not seeing any items in the ANSYS Workbench toolbox?
- Missing Analysis Systems from toolbox
- “An error occurred while starting the solver module.” – Maybe licence problem?
- Please recommend the configuration of the computer workstation
- FLUENT application Failed to start
- No license available at this time
- ANSYS License Manager Error
- I am using MacBook Pro with M1chip, how can I install or any other ways to use Ansys ?
- Your product license has numerical problem size limits…..
- Acoustics model in Ansys 18.1
-
7584
-
4434
-
2951
-
1422
-
1322
© 2023 Copyright ANSYS, Inc. All rights reserved.