Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

Import AoN #12

Open
elmiraberjisian opened this issue Aug 25, 2020 · 1 comment
Open

Import AoN #12

elmiraberjisian opened this issue Aug 25, 2020 · 1 comment

Comments

@elmiraberjisian
Copy link

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

@pedrocamargo
Copy link
Owner

@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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants