# Is GraphDataScience compatible with latest python driver 5.1?

**URL:** <https://community.neo4j.com/t/is-graphdatascience-compatible-with-latest-python-driver-5-1/59205>\
**Category:** Drivers & Stacks\
**Tags:** migrated\
**Created:** [October 11, 2022, 7:59pm UTC](https://community.neo4j.com/t/is-graphdatascience-compatible-with-latest-python-driver-5-1/59205 "2022-10-11T19:59:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![andy\_hegedus](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/andy_hegedus/32/18744_2.png) [@andy\_hegedus](https://community.neo4j.com/u/andy_hegedus)\
**Post date:** [October 11, 2022, 7:59pm UTC](https://community.neo4j.com/t/is-graphdatascience-compatible-with-latest-python-driver-5-1/59205/1 "2022-10-11T19:59:32Z")

</div>

Installed the latest python version and upgraded graphdatascience to version 1.4.

I can no longer make a connection to the database as previously down.

```auto
from graphdatascience import GraphDataScience
gds = GraphDataScience("bolt://localhost:7687", auth=(" ***","****"))

```

Failed to establish connection to ResolvedIPv4Address(('127.0.0.1', 7687)) (reason [Errno 61] Connection refused)

I have also tried

```auto
from graphdatascience import GraphDataScience
gds = GraphDataScience("neo4j://localhost:7687", auth=(" ***","****"))

```

UnableToConnectError: Unable to retrieve routing information

Suggestions for resolution?

Andy

---

<div class="post-metadata">

**Author:** ![andy\_hegedus](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/andy_hegedus/32/18744_2.png) [@andy\_hegedus](https://community.neo4j.com/u/andy_hegedus)\
**Post date:** [October 11, 2022, 8:57pm UTC](https://community.neo4j.com/t/is-graphdatascience-compatible-with-latest-python-driver-5-1/59205/2 "2022-10-11T20:57:42Z")

</div>

Did a quick test. I noticed that the Neo4J desktop browser used port 11003. If I use that port number with the bolt protocol I can connect. I would not like to do that because I often have the Neo4J browser open as part of my development set up.

Andy
