Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DLL load failed while importing AoN in Aequilibrae #591

Open
zahern opened this issue Nov 19, 2024 · 5 comments
Open

DLL load failed while importing AoN in Aequilibrae #591

zahern opened this issue Nov 19, 2024 · 5 comments
Labels
Insufficient information Not enough information to evalute

Comments

@zahern
Copy link

zahern commented Nov 19, 2024

Description:
I encountered an ImportError while attempting to run a script that imports the Project class from the aequilibrae package. The traceback indicates that the error occurs when trying to import the AoN module from the aequilibrae.paths package.

I am running Python 3.10 on windows:

Exact error gives :

File "....venv\lib\site-packages\aequilibrae\paths_init_.py", line 1, in
from aequilibrae.paths.AoN import one_to_all, skimming_single_origin, path_computation, update_path_trace
ImportError: DLL load failed while importing AoN: The specified module could not be found.

@pedrocamargo
Copy link
Contributor

Can you provide more information on the environment you are running the code on? With the above information is not possible to reproduce the problem.

@pedrocamargo pedrocamargo added the Insufficient information Not enough information to evalute label Nov 19, 2024
@zahern
Copy link
Author

zahern commented Nov 19, 2024

My Python version is 3.10.11.
Running a virtual env where:
aequilibrae is 1.1.3.

Looking at the Package contents into \aequilibrae\paths\ I have the following files listed in the screenshot
Equilibrae_python
I believe AoN is not builiding properly as my file name in the list is called "AoN.cp310-win_amd64.pyd"

Am I doing anything wrong?

@pedrocamargo
Copy link
Contributor

This is still insufficient to reproduce the issue.

It might have something to do with the version of PyArrow or NumPy you have installed, but it is impossible to guess

@pedrocamargo
Copy link
Contributor

You can try running the line below to see if you obtain a more informative error message:

from aequilibrae.paths.AoN import one_to_all, assign_link_loads

@zahern
Copy link
Author

zahern commented Nov 20, 2024

Sorry Pedro, I have attached my installed packages.
requirements.txt

I have tried running only "from aequilibrae.paths.AoN import one_to_all, assign_link_loads"

And i receive this error
import

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Insufficient information Not enough information to evalute
Projects
None yet
Development

No branches or pull requests

2 participants