-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
I try to install osrm on Ubuntu 22.04. Installed the dependencies as listed in the README:
GDAL==3.4.3
geopandas==0.14.0
numpy==1.26.0
osrm==0.11.3
pandas==2.1.1
polyline==2.0.0
Apart from that I installed gdal-bin and libgdal-dev using apt install. When I import osrm I get:
$ python3
Python 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import osrm
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/arnold/.local/lib/python3.10/site-packages/osrm/__init__.py", line 53, in <module>
from .core import match, simple_route, nearest, table, trip, _chain
File "/home/arnold/.local/lib/python3.10/site-packages/osrm/core.py", line 3, in <module>
from polyline.codec import PolylineCodec
ModuleNotFoundError: No module named 'polyline.codec'
I could hardly find a suggestion on the net, except one remark that one should try to pip install polyline-decoder. That didn't help.
Does anyone have a suggestion? Thank you in advance.
jjsantos01 and mdarwishMrsool
Metadata
Metadata
Assignees
Labels
No labels