chdb-io / chdb

chDB is an in-process OLAP SQL Engine 🚀 powered by ClickHouse
https://clickhouse.com/docs/en/chdb
Apache License 2.0
2.03k stars 72 forks source link

Instalation on macOS Ventura 13.1 M1 fails #1

Closed dchimeno closed 1 year ago

dchimeno commented 1 year ago

pip install chdb

ERROR: Could not find a version that satisfies the requirement chdb (from versions: none) ERROR: No matching distribution found for chdb

uname -a Darwin xxxx 22.2.0 Darwin Kernel Version 22.2.0: Fri Nov 11 02:04:44 PST 2022; root:xnu-8792.61.2~4/RELEASE_ARM64_T8103 arm64

python -V Python 3.10.9

auxten commented 1 year ago

Currently, I haven't compiled chdb into the ARM64(M1) arch. Maybe, you can try the following command:

arch -x86_64 pip install chdb
arch -x86_64 python3 -c \
    "import chdb; res = chdb.query('select version()', 'CSV'); print(str(res.get_memview().tobytes()))" 
auxten commented 1 year ago

macOS arm64 for python 3.10 is published @dchimeno