Closed wongsihan closed 2 years ago
@wongsihan Sorry for the long wait. Unfortunately, we do not have an M1 mac in our group in order to reproduce the error.
I guess that you were following the instructions from python/, and installed gfortran
and the Make
utility as pointed out in Step 2 for MacOS.
I could be that the error originates from the f2py
command in the Makefile, which might have some problems with the ARM-architecture of the M1 chip.
Maybe you can give miniforge a try, as suggested here and here.
@spollok Thank you very much for your patient reply. I will try this solution. If there is any new progress, I will update it under this issue.
ImportError: dlopen(/Users/envy/Documents/GitHub/MagTense/python/magtense/lib/magtensesource.cpython-39-darwin.so, 0x0002): tried: '/Users/envy/Documents/GitHub/MagTense/python/magtense/lib/magtensesource.cpython-39-darwin.so' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))