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

Import AoN #12

@elmiraberjisian

Description

@elmiraberjisian

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions