osx cant open .so array_
- Dominant language
- Python
- Stars
- 779
- Forks
- 86
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 6
Description
I'm using uv with python 3.11 and 3.12 and both I get same result
```
python
Python 3.11.9 (main, Aug 14 2024, 04:17:21) [Clang 18.1.8 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import grain.python as pygrain
Traceback (most recent call last):
File "", line 1, in
File "/Users/tyoc213/c/q/thing/.venv/lib/python3.11/site-packages/grain/__init__.py", line 24, in
from grain import (
File "/Users/tyoc213/c/q/thing/.venv/lib/python3.11/site-packages/grain/checkpoint.py", line 22, in
from grain._src.python.checkpoint_handlers import (
File "/Users/tyoc213/c/q/thing/.venv/lib/python3.11/site-packages/grain/_src/python/checkpoint_handlers.py", line 20, in
from grain._src.python import data_loader
File "/Users/tyoc213/c/q/thing/.venv/lib/python3.11/site-packages/grain/_src/python/data_loader.py", line 42, in
from grain._src.python.data_sources import RandomAccessDataSource
File "/Users/tyoc213/c/q/thing/.venv/lib/python3.11/site-packages/grain/_src/python/data_sources.py", line 35, in
import array_record.python.array_record_data_source as array_record
File "/Users/tyoc213/c/q/thing/.venv/lib/python3.11/site-packages/array_record/python/array_record_data_source.py", line 45, in
from . import array_record_module
ImportError: dlopen(/Users/tyoc213/c/q/thing/.venv/lib/python3.11/site-packages/array_record/python/array_record_module.so, 0x0002): tried: '/Users/tyoc213/c/q/thing/.venv/lib/python3.11/site-packages/array_record/python/array_record_module.so' (slice is not valid mach-o file), '/System/Volumes/Preboot/Cryptexes/OS/Users/tyoc213/c/q/thing/.venv/lib/python3.11/site-packages/array_record/python/array_record_module.so' (no such file), '/Users/tyoc213/c/q/thing/.venv/lib/python3.11/site-packages/array_record/python/array_record_module.so' (slice is not valid mach-o file)
```
where
```
/Users/tyoc213/c/q/thing/.venv/lib/python3.11/site-packages/array_record/
├── __init__.py
├── __pycache__
│ └── __init__.cpython-311.pyc
├── python
│ ├── __init__.py
│ ├── __pycache__
│ │ ├── __init__.cpython-311.pyc
│ │ └── array_record_data_source.cpython-311.pyc
│ ├── array_record_data_source.py
│ ├── array_record_data_source_test.py
│ ├── array_record_module.so
│ └── array_record_module_test.py
└── setup.py
```
that is a `array_record_module.so: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, BuildID[md5/uuid]=9383dfd5e119db6db2ea636b89d62e1e, with debug_info, not stripped`
Contributor guide
Assessment
This issue has not been assessed yet.