Skip to content

Error: "Incompatible architecture (have 'arm64', need 'x86_64')" on M1 Mac #146

@nik-2305

Description

@nik-2305

Hey everyone, I'm trying to run pyglow on my M1 Mac. I followed the instructions on how to install pyglow, but I keep getting the following error when trying to import pyglow:

dlopen(/Users/username/.local/lib/python3.9/site-packages/iri12py.cpython-39-darwin.so, 0x0002): tried: '/Users/username/.local/lib/python3.9/site-packages/iri12py.cpython-39-darwin.so' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/local/lib/iri12py.cpython-39-darwin.so' (no such file), '/usr/lib/iri12py.cpython-39-darwin.so' (no such file)

M1 Macbook Air
Python 3.9
Numpy 1.20

Is someone having a similar experience running this on an M1 Mac? I appreciate your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions