Skip to content

FileNotFoundError: [Errno 2] No such file or directory #3

@MohammadHeydari

Description

@MohammadHeydari

Hi. I already installed the lib without any problem. when I run the

import nxneo4j
import os
from neo4j.v1 import GraphDatabase, basic_auth

user_name = os.environ.get("NEO4J_USER", "neo4j")
password = os.environ.get("NEO4J_PASSWORD", "123")

driver = GraphDatabase.driver("bolt://localhost", auth=basic_auth(user_name, password))

I encounter with this error:
FileNotFoundError: [Errno 2] No such file or directory
which refers to this line

driver = GraphDatabase.driver("bolt://localhost", auth=basic_auth(user_name, password))

I also tested this but it doesn't work.
bolt://localhost:7687

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions