map_matching icon indicating copy to clipboard operation
map_matching copied to clipboard

Import AoN

Open elmiraberjisian opened this issue 5 years ago • 1 comments

following the code when I tried to import AoN in "map_matching/aequilibrae/init.py" I got the error: ImportError: DLL load failed: The specified module could not be found

I tried to install the aequilibrae package directly from pip and modifed this line in init.py from AoN import path_computation to aequilibrae.paths.AoN import path_computation This worked fine but when I tried to run examply.py, I got this error

File "----\Python\Python37\lib\site-packages\aequilibrae\paths\graph.py", line 220, in create_from_geography self.prepare_graph(centroids.astype(np.int64)) AttributeError: 'list' object has no attribute 'astype'

Can you please help me to address this? I use python 3.7 on win 64 bit

elmiraberjisian avatar Aug 25 '20 21:08 elmiraberjisian

@elmiraberjisian , this package was written for Python 2.* and I haven't had time to finish refactoring it. It will take some time, but you are welcome to work on the refactoring branch and help me finish it.

pedrocamargo avatar Aug 26 '20 04:08 pedrocamargo