Ggis - qaequilibraE: python error when Network Preparation

122 views
Skip to first unread message

Ruoyun Chen

unread,
Aug 10, 2023, 5:11:24 PM8/10/23
to AequilibraE
Hi I've been using Qgis on Mac M1 pro and I want to use Aequilibrae to prepare for the traffic network, which work perfectly well before when I use my old MAC. 
However I have this error (attached below). Could you please suggest me what to do? I have been checking gcc --version and it shows:

Apple clang version 13.1.6 (clang-1316.0.21.2.5)

Then I do: 

brew install gcc@12

But it does not help. Can you please suggest what should I do to make use of the Network Preparation function of qaequilibrae?
Thanks for your time!

-

2023-08-10T16:59:17     WARNING    Traceback (most recent call last):
....
             ImportError: dlopen(/Users/ruoyunchen/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/qaequilibrae/packages/aequilibrae/paths/AoN.cpython-39-darwin.so, 0x0002): Library not loaded: /usr/local/opt/gcc@12/lib/gcc/12/libgomp.1.dylib
              Referenced from: /Users/ruoyunchen/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/qaequilibrae/packages/aequilibrae/paths/AoN.cpython-39-darwin.so
              Reason: tried: '/usr/local/opt/gcc@12/lib/gcc/12/libgomp.1.dylib' (no such file), '/usr/local/lib/libgomp.1.dylib' (no such file), '/usr/lib/libgomp.1.dylib' (no such file)
             

Pedro Camargo

unread,
Aug 10, 2023, 8:57:23 PM8/10/23
to AequilibraE
Hi Ruoyun,

AequilibraE does not currently support the M1 chip, as none of the developers working on it has an M1 chip and we don't have the budget to implement testing and CI for it.

Hopefully there will be someone interested in funding that work (and ongoing expense for CI outside Github) soon or GitHub will make the feature available for free.

For now, your best bet is to clone AequilibraE and build it locally.


Cheers,
Pedro



---- On Fri, 11 Aug 2023 07:11:23 +1000 Ruoyun Chen <dand...@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.
To view this discussion on the web visit https://groups.google.com/d/msgid/aequilibrae/ad0a343b-b9de-466e-afb1-6a85dec1a27bn%40googlegroups.com.

Jamie Cook

unread,
Aug 10, 2023, 9:06:24 PM8/10/23
to Pedro Camargo, AequilibraE
Clone and build isn't an obvious set of steps unfortunately:

This is the shortest version for compiling that i'd recommend (taken
from the github ci scripts)

python -m pip install virtualenv
python -m virtualenv venv
. venv/bin/activate
python -m pip install --upgrade pip setuptools wheel twine
python -m pip install -r requirements.txt
python -m pip install -r requirements_additional.txt
python setup.py sdist bdist_wheel

- Jamie
http://jamiecook.wordpress.com
> To view this discussion on the web visit https://groups.google.com/d/msgid/aequilibrae/189e218fcac.5b29e7b72771.7781361653486382709%40margo.co.

Ruoyun Chen

unread,
Aug 10, 2023, 9:39:54 PM8/10/23
to Jamie Cook, Pedro Camargo, AequilibraE
Thanks so much for your help!!!
Can't appreciate it more!
Ruoyun

Jamie Cook <jimi...@gmail.com> 于2023年8月10日周四 21:06写道:
You received this message because you are subscribed to a topic in the Google Groups "AequilibraE" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/aequilibrae/jbuOB0vK3Y4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to aequilibrae...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/aequilibrae/CAAen9p9rtKyZ8BUbiEyPrEKh5C9-MivHMdGo9mF2B79UD1Hoxg%40mail.gmail.com.

Pedro Camargo

unread,
Aug 11, 2023, 1:05:13 AM8/11/23
to Aequilibrae
Hi Kai Tang,

                 Unfortunately I won't be able to analyze your code, as that takes a substantial amount of time, especially when it is custom code that in a non-standard way of using AequilibraE.

I would recommend you create a small example that is easy to replicate, as that makes it possible to our volunteer developers to look into it.


Cheers,
Pedro





---- On Fri, 11 Aug 2023 14:30:46 +1000 tangkai <7945...@qq.com> wrote ---

Hi Pedro,
    I update the source code from link , which lacks several compiled files,I find them in the  V0.9.3   packages(ipf_core.cp37-win_amd64.pyd,AoN.cp37-win_amd64.pyd).
   But I found there is still some problems with the select-link results. In the nanshan project,I choose the 211839 link to do select-link analysis:


the select-result :

the code project is below

Regards,
Kai Tang
------------------ 原始邮件 ------------------
发件人: "Pedro Camargo" <c...@margo.co>;
发送时间: 2023年8月11日(星期五) 上午8:57
收件人: "AequilibraE"<aequi...@googlegroups.com>;

主题: Re: Ggis - qaequilibraE: python error when Network Preparation
Reply all
Reply to author
Forward
0 new messages