Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apple Silicon Macs #43

Open
billziss-gh opened this issue Nov 5, 2024 · 0 comments
Open

Apple Silicon Macs #43

billziss-gh opened this issue Nov 5, 2024 · 0 comments

Comments

@billziss-gh
Copy link

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'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant