Skip to content

Receiving an error while connecting database #46

@aruneshmohan

Description

@aruneshmohan

Hello All,

I have imported the database, and I can connect using Neo4j Desktop and run the query, but I cannot connect to the database using test_connection.py. I even changed the database connection in the .env.

C:\Agentic_Graph_Rag\integrations-main\langgraph\agentic_graph_rag\backend>python tests/test_connection.py
Traceback (most recent call last):
File "C:\Agentic_Graph_Rag\integrations-main\langgraph\agentic_graph_rag\backend\tests\test_connection.py", line 8, in
from neo4j_utils import Neo4jConnection
File "C:\Agentic_Graph_Rag\integrations-main\langgraph\agentic_graph_rag\backend\tests..\neo4j_utils.py", line 6, in
from neo4j import GraphDatabase
ModuleNotFoundError: No module named 'neo4j'

Please let me know what mistake I am making here.

Regards,
Arunesh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions