Closed andreArtelt closed 4 months ago
We updated the Mac libraries for the latest version of the EPyT
v1.1.7.
Also, the user can use custom libraries:
epanetlib=os.path.join(os.getcwd(), 'epyt','libraries','win','epanet2.dll')
msxlib=os.path.join(os.getcwd(), 'epyt','libraries','win','epanetmsx.dll')
d = epanet(inpname, customlib=epanetlib)
d.loadMSXFile(msxname, customMSXlib=msxlib)
I get the following error when running EPyT on a modern Mac:
I think this is because of the new CPU architecture. It looks like the pre-compiled binary was compiled for a single architecture only.
I suggest that EPyT either ships a separate library for each architecture (arm64 and x86_64) or compiles the library locally when it is installed.