Install Error: ModuleNotFoundError: No module named 'aequilibrae.utils'

22 views
Skip to first unread message

Cesar Augusto de O. Diniz

unread,
Oct 17, 2025, 4:04:49 PMOct 17
to AequilibraE
Hello, I'm trying to use the plugin in QGIS and Python, but there is some installing issue

Someone had some issue like this?

In the both I get some error related to this:

ModuleNotFoundError                       Traceback (most recent call last)
Cell In[1], line 9
      6 from tempfile import gettempdir
      7 from geopandas import read_postgis
----> 9 from aequilibrae.utils.create_example import create_example
     10 from aequilibrae.utils.create_delaunay_network import DelaunayAnalysis

File e:\PROFISSIONAL\TYLIN\OneDrive - Global Infrastructure\0. TYLin_Cesar\1. Projetos\1. BID03\GIS\Python\venv\Lib\site-packages\aequilibrae\__init__.py:3
      1 from aequilibrae.log import logger, global_logger
      2 from aequilibrae.parameters import Parameters
----> 3 from aequilibrae.project.data import Matrices
      4 from aequilibrae.log import Log
      5 from aequilibrae import matrix

File e:\PROFISSIONAL\TYLIN\OneDrive - Global Infrastructure\0. TYLin_Cesar\1. Projetos\1. BID03\GIS\Python\venv\Lib\site-packages\aequilibrae\project\__init__.py:1
----> 1 from aequilibrae.project.project import Project
      2 from aequilibrae.project.about import About
      3 from aequilibrae.project.network.network import Network

File e:\PROFISSIONAL\TYLIN\OneDrive - Global Infrastructure\0. TYLin_Cesar\1. Projetos\1. BID03\GIS\Python\venv\Lib\site-packages\aequilibrae\project\project.py:17
     15 from aequilibrae.log import get_log_handler
     16 from aequilibrae.parameters import Parameters
---> 17 from aequilibrae.project.about import About
     18 from aequilibrae.project.data import Matrices, Results
...
----> 5 from aequilibrae.utils.db_utils import commit_and_close
      7 req_link_flds = ["link_id", "a_node", "b_node", "direction", "distance", "modes", "link_type"]
      8 req_node_flds = ["node_id", "is_centroid"]

ModuleNotFoundError: No module named 'aequilibrae.utils'

Renata Imai

unread,
Oct 17, 2025, 4:16:28 PMOct 17
to Cesar Augusto de O. Diniz, AequilibraE
Hi Cesar,

Did you have another version of QAequilibraE installed in your machine prior to the one you're reporting the bug?
This seems to be a bug related to the AequilibraE version we're using right now. 

I'll suggest you to go to the qaequilibrae plugin installation folder, remove all files except __init__.py from the packages folder and re-run the external dependencies install. The location in your machine should be a subfolder of: "C:\Users\...\AppData\Roaming\QGIS"

I think this should solve your problem. If not, let me know.

Cheers, Renata.

--
You received this message because you are subscribed to the Google Groups "AequilibraE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aequilibrae...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/aequilibrae/81200af5-893e-4f64-aab8-b83f3955c1afn%40googlegroups.com.

Cesar Augusto de O. Diniz

unread,
Oct 17, 2025, 8:31:37 PMOct 17
to AequilibraE

Hello Renata,

No, it's just this version — it's the latest one.

I've already tried this solution and lots of other things: reinstalling QGIS, removing everything with QGIS from the computer, etc. I tried on my personal and company computers, and with Python locally and on Colab. Nothing worked.

But I found one solution. I installed version 25.274.17 and voilà! It worked perfectly!

I don't know what caused the problem, but this older version worked well. In any case, thanks for the quick response!

Renata Imai

unread,
Oct 17, 2025, 9:20:30 PMOct 17
to Cesar Augusto de O. Diniz, AequilibraE
Hey, good to know that!

I'll check what went wrong with 25.287.11 later on. Thanks for letting me know.

Renata

Pedro Camargo

unread,
Oct 18, 2025, 7:43:31 PMOct 18
to caod...@gmail.com, aequi...@googlegroups.com
Cesar, 

What have you tried In Python exactly? 

We haven't seen any issues there recently so it is a bit surprising that you are facing trouble. 

Cheers, 
Pedro 




---- On Sat, 18 Oct 2025 11:31:00 +1100 caod...@gmail.com wrote ----

Cesar Augusto de O. Diniz

unread,
Oct 19, 2025, 11:42:12 AMOct 19
to AequilibraE
In python I just tried to run the Delaunay Lines example present in the documentation. But after I found the problem in my colab and on python locally the problem is just the Windows itself and my other python versions installed.

So, probably no worries in Python.

Pedro Camargo

unread,
Oct 20, 2025, 4:21:58 AMOct 20
to caod...@gmail.com, aequi...@googlegroups.com
Likely a Python installation from the Windows store?  That one does not allow for sqlite extensions, and AequilibraE depends on spatialite. 

Installations directly from Python.org or through UV are recommended. 

Colab runs usually require the re-installation of NumPy (at the very least). 

Cheers, 
Pedro 




---- On Mon, 20 Oct 2025 02:42:12 +1100 caod...@gmail.com wrote ----

Reply all
Reply to author
Forward
0 new messages