gojuno / gojuno/osrm-py

AttributeError: module 'osrm' has no attribute 'Client'

Open
#7 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
19
Forks
7
PR merge metrics
No merged PRs in 30d

Description

I have installed osrm-py in my jupyter successfully. Yet, when I run the following test code it throws **"AttributeError: module 'osrm' has no attribute 'Client'**

import osrm
client = osrm.Client(host='http://localhost:5000')
response = client.route(
coordinates=[[-74.0056, 40.6197], [-74.0034, 40.6333]],
overview=osrm.overview.full)
print(response)

My environment:
Operating System: CentOS 7, 64bit
Python 3.5.6 :: Anaconda 4.1.1 (64-bit)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.