Mamoun FILALI-AMINE <mamoun.filali(a)irit.fr> writes:
ImportError:
dlopen(/usr/local/lib/python3.10/site-packages/spot/_impl.cpython-310-darwin.so,
0x0002): tried:
'/usr/local/lib/python3.10/site-packages/spot/_impl.cpython-310-darwin.so'
(mach-o file, but is an incompatible architecture (have 'x86_64', need
'arm64')),
So it looks like you have compiled Spot with a compiler that produces
binaries for the Intel architecture while Python is compiled for Arm?
I'm afraid I'm unfamiliar M2, I've just read that it is able to execute
Intel binaries but I guess you cannot mix shared libraries with
different architectures.
Best regards,
Alexandre