Skip to content

Apple Silicon Macs #43

Description

@billziss-gh

Are there any plans to release this package and the associated inform library for Apple Silicon Macs?

Traceback (most recent call last):
  File "/Users/billziss/Projects/Fox-Tango/entropy/entropy.py", line 3, in <module>
    import pyinform as pi
  File "/Users/billziss/Projects/Fox-Tango/entropy/.venv/lib/python3.11/site-packages/pyinform/__init__.py", line 50, in <module>
    _inform = CDLL(get_libpath())
              ^^^^^^^^^^^^^^^^^^^
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ctypes/__init__.py", line 376, in __init__
    self._handle = _dlopen(self._name, mode)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: dlopen(/Users/billziss/Projects/Fox-Tango/entropy/.venv/lib/python3.11/site-packages/pyinform/inform-1.0.0/lib/macosx-x86_64/libinform.1.0.0.dylib, 0x0006): tried: '/Users/billziss/Projects/Fox-Tango/entropy/.venv/lib/python3.11/site-packages/pyinform/inform-1.0.0/lib/macosx-x86_64/libinform.1.0.0.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/billziss/Projects/Fox-Tango/entropy/.venv/lib/python3.11/site-packages/pyinform/inform-1.0.0/lib/macosx-x86_64/libinform.1.0.0.dylib' (no such file), '/Users/billziss/Projects/Fox-Tango/entropy/.venv/lib/python3.11/site-packages/pyinform/inform-1.0.0/lib/macosx-x86_64/libinform.1.0.0.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64'))

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions