Skip to content

Support for arch64 (macOS -M1) #39

Closed
@neodino

Description

@neodino

Describe the bug

Getting error bellow. Tried to build but got same error. Any idea?

ile "/bytewax/.venv/lib/python3.11/site-packages/proton_driver/__init__.py", line 2, in <module>
    from .client import Client
  File "/bytewax/.venv/lib/python3.11/site-packages/proton_driver/client.py", line 9, in <module>
    from .block import ColumnOrientedBlock, RowOrientedBlock
  File "/bytewax/.venv/lib/python3.11/site-packages/proton_driver/block.py", line 1, in <module>
    from .reader import read_varint, read_binary_uint8, read_binary_int32
  File "/bytewax/.venv/lib/python3.11/site-packages/proton_driver/reader.py", line 3, in <module>
    from .varint import read_varint
ImportError: dlopen(/bytewax/.venv/lib/python3.11/site-packages/proton_driver/varint.cpython-311-darwin.so, 0x0002): tried: '/bytewax/.venv/lib/python3.11/site-packages/proton_driver/varint.cpython-311-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/bytewax/.venv/lib/python3.11/site-packages/proton_driver/varint.cpython-311-darwin.so' (no such file), '/bytewax/.venv/lib/python3.11/site-packages/proton_driver/varint.cpython-311-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))

To Reproduce
Using the byte wax example from the repo
Expected behavior
Run ok.
Versions

  • Version of package with the problem. 0.2.10
  • Proton server version. Version can be obtained by running SELECT version() query. 1.3.29 revision 54459.
  • Python version. 3.11

Metadata

Metadata

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