Qaequilibrae installation on Mac - problems

8 views
Skip to first unread message

Will McDougall

unread,
Nov 26, 2025, 12:00:44 AMNov 26
to AequilibraE
Hi Pedro, everyone,

I'm hoping to give qaequilibrae a try, but can't seem to get past installation.
I've read all the previous posts, and tried to update Python in QGIS (which I realise is risky!) following other advice on the web.

I'm using the latest release of QGIS for macOS (3.42.1 is the latest available as a downloadable Mac installer), but as far as I can understand, it's using Python 3.9.

I think I've updated dumpy in QGIS, but I still get a plethora of error messages when I start QGIS and it tries to load qaequilibrae in turn, as per below:

Any help gratefully received! I'll need specific advice if possible, because I'm no expert (yet...).

Cheers,
William

Couldn't load plugin 'qaequilibrae' due to an error when calling its classFactory() method

ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject Traceback (most recent call last):
  File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 478, in _startPlugin
    plugins[packageName] = package.classFactory(iface)
  File "/Users/will/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/qaequilibrae/__init__.py", line 5, in classFactory
    return AequilibraEMenu(iface)
  File "/Users/will/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/qaequilibrae/qaequilibrae.py", line 67, in __init__
    self.logger = self.get_logger()
  File "/Users/will/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/qaequilibrae/qaequilibrae.py", line 197, in get_logger
    from aequilibrae.context import get_logger
  File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 1100, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/Users/will/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/qaequilibrae/packages/aequilibrae/__init__.py", line 3, in
    from aequilibrae.project.data import Matrices
  File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 1100, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/Users/will/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/qaequilibrae/packages/aequilibrae/project/__init__.py", line 1, in
    from aequilibrae.project.project import Project
  File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 1100, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/Users/will/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/qaequilibrae/packages/aequilibrae/project/project.py", line 10, in
    import pandas as pd
  File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 1100, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/pandas-1.3.3-py3.9-macosx-10.13.0-x86_64.egg/pandas/__init__.py", line 22, in
    from pandas.compat import (
  File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 1100, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/pandas-1.3.3-py3.9-macosx-10.13.0-x86_64.egg/pandas/compat/__init__.py", line 15, in
    from pandas.compat.numpy import (
  File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 1100, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/pandas-1.3.3-py3.9-macosx-10.13.0-x86_64.egg/pandas/compat/numpy/__init__.py", line 7, in
    from pandas.util.version import Version
  File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 1100, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/pandas-1.3.3-py3.9-macosx-10.13.0-x86_64.egg/pandas/util/__init__.py", line 1, in
    from pandas.util._decorators import (  # noqa
  File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 1100, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/pandas-1.3.3-py3.9-macosx-10.13.0-x86_64.egg/pandas/util/_decorators.py", line 14, in
    from pandas._libs.properties import cache_readonly  # noqa
  File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 1100, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/pandas-1.3.3-py3.9-macosx-10.13.0-x86_64.egg/pandas/_libs/__init__.py", line 13, in
    from pandas._libs.interval import Interval
  File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 1100, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "pandas/_libs/interval.pyx", line 1, in init pandas._libs.interval
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject


Python version: 3.9.5 (default, Sep 10 2021, 16:18:19) [Clang 12.0.5 (clang-1205.0.22.11)]
QGIS version: 3.42.1-Münster Münster, 1fc52835a89

Python Path:
  • /Users/will/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/qaequilibrae/packages
  • /Applications/QGIS.app/Contents/MacOS/../Resources/python
  • /Users/will/Library/Application Support/QGIS/QGIS3/profiles/default/python
  • /Users/will/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins
  • /Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins
  • /Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/matplotlib-3.3.0-py3.9-macosx-10.13.0-x86_64.egg
  • /Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/netCDF4-1.5.4-py3.9-macosx-10.13.0-x86_64.egg
  • /Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/numba-0.50.1-py3.9-macosx-10.13.0-x86_64.egg
  • /Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/patsy-0.5.1-py3.9.egg
  • /Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/pyproj-3.2.0-py3.9-macosx-10.13.0-x86_64.egg
  • /Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/rasterio-1.1.5-py3.9-macosx-10.13.0-x86_64.egg
  • /Applications/QGIS.app/Contents/MacOS/lib/python39.zip
  • /Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/pandas-1.3.3-py3.9-macosx-10.13.0-x86_64.egg
  • /Applications/QGIS.app/Contents/MacOS/lib/python3.9/lib-dynload
  • /Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/cftime-1.2.1-py3.9-macosx-10.13.0-x86_64.egg
  • /Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/Pillow-7.2.0-py3.9-macosx-10.13.0-x86_64.egg
  • /Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/geopandas-0.8.1-py3.9.egg
  • /Applications/QGIS.app/Contents/MacOS/lib/python3.9
  • /Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/GDAL-3.3.2-py3.9-macosx-10.13.0-x86_64.egg
  • /Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/Rtree-0.9.7-py3.9-macosx-10.13.0-x86_64.egg
  • /Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/scipy-1.5.1-py3.9-macosx-10.13.0-x86_64.egg
  • /Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages
  • /Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/statsmodels-0.11.1-py3.9-macosx-10.13.0-x86_64.egg
  • /Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/Fiona-1.8.13.post1-py3.9-macosx-10.13.0-x86_64.egg
  • /Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/opencv_contrib_python-4.3.0.36-py3.9-macosx-10.13.0-x86_64.egg
  • /Users/will/Library/Application Support/QGIS/QGIS3/profiles/default/python

Pedro Camargo

unread,
Nov 26, 2025, 12:08:21 AMNov 26
to AequilibraE
Hi William,

I am afraid that solving this issue on your system would not be trivial, as this error points to the fact that there is a substantial conflict between NumPy versions and requirements in your system (the fact that it is Pandas and not AequilibraE complaining makes it even more complicated).

The solution would be to compile possibly all packages locally (Pandas and AequilibraE at the very least), so not trivial.

AequilibraE has also dropped support for Python 3.9, as it is end-of-life, so there are no upcoming updates compatible with that version.

We have also just recently started working with macbooks internally, so the support for that platform (exclusively for Apple silicon) will improve quickly in the next few months.

Cheers,
Pedro



---- On Wed, 26 Nov 2025 16:00:01 +1100 Will McDougall <will...@gmail.com> wrote ---

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


Jake

unread,
Dec 10, 2025, 2:15:59 AM (7 days ago) Dec 10
to AequilibraE
Hi William,

We've just made a release of AequilibraE (not the qaequilibrae plugin) with improved MacOS support, however, I don't believe this will solve the issue here.

It appears the QGIS team has not correctly updated the version of Python used on MacOS for versions of QGIS below 4. This isn't something that is fixable on our end. Fortunately, one of our developers working on MacOS has had success using the preview releases of QGIS from this repository https://github.com/qgis/qgis-notarize/ . These versions come with the correct version of Python, but do note these are previews and may not be stable.

Regards,
Jake
Reply all
Reply to author
Forward
0 new messages