You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
deltalake python module fails to install on M1 (arm64) Mac.
pip install deltalake==0.5.3
Collecting deltalake==0.5.3
Using cached deltalake-0.5.3.tar.gz (4.3 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata (pyproject.toml) ... error
ERROR: Command errored out with exit status 1:
command: /Users/charliemoad/.virtualenvs/crystal-lake/bin/python /Users/charliemoad/.virtualenvs/crystal-lake/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /var/folders/fg/0895l8z15klg4qqbnmxw95cm0000gp/T/tmp8oix2080
cwd: /private/var/folders/fg/0895l8z15klg4qqbnmxw95cm0000gp/T/pip-install-aytczqlf/deltalake_2b540f7eb8c247b6ad4acdc9d65b3bff
Complete output (23 lines):
💥 maturin failed
Caused by: Cargo metadata failed. Does your crate compile with `cargo build`?
Caused by: `cargo metadata` exited with an error: Updating crates.io index
Updating git repository `https://github.com/apache/arrow-rs`
Updating git repository `https://github.com/Azure/azure-sdk-for-rust`
Downloading crates ...
error: failed to download `zeroize v1.4.2`
Caused by:
unable to get packages from source
Caused by:
failed to parse manifest at `/Users/charliemoad/.asdf/installs/rust/1.50.0/registry/src/git.luolix.top-1ecc6299db9ec823/zeroize-1.4.2/Cargo.toml`
Caused by:
feature `resolver` is required
this Cargo does not support nightly features, but if you
switch to nightly channel you can add
`cargo-features = ["resolver"]` to enable this feature
Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/private/var/folders/fg/0895l8z15klg4qqbnmxw95cm0000gp/T/pip-modern-metadata-_hyqs7cg', '--interpreter', '/Users/charliemoad/.virtualenvs/crystal-lake/bin/python']' returned non-zero exit status 1.
Checking for Rust toolchain....
Running `maturin pep517 write-dist-info --metadata-directory /private/var/folders/fg/0895l8z15klg4qqbnmxw95cm0000gp/T/pip-modern-metadata-_hyqs7cg --interpreter /Users/charliemoad/.virtualenvs/crystal-lake/bin/python`
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/b2/de/9dcd2a06020fb59aea8bcbcd2e6c92ebd0433f694a0cf9c859360508d73f/deltalake-0.5.3.tar.gz#sha256=9ce9feafe94e14904dc2aabebe96572cab36bd77fcef610441f68be291b18e3d (from https://pypi.org/simple/deltalake/) (requires-python:>=3.6). Command errored out with exit status 1: /Users/charliemoad/.virtualenvs/crystal-lake/bin/python /Users/charliemoad/.virtualenvs/crystal-lake/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /var/folders/fg/0895l8z15klg4qqbnmxw95cm0000gp/T/tmp8oix2080 Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement deltalake==0.5.3 (from versions: 0.5.0, 0.5.1, 0.5.2, 0.5.3)
ERROR: No matching distribution found for deltalake==0.5.3
What happened:
Pip install fails.
What you expected to happen:
Module to successfully install.
How to reproduce it:
pip install deltalake==0.5.3
More details:
The text was updated successfully, but these errors were encountered:
I was able to self resolve this. I had rust installed with https://asdf-vm.com/, same tool I use for Python. The above error happened with multiple versions. I removed all those rust installs and tried the one from homebrew and it worked successfully.
Environment
MacBook Pro (13-inch, M1, 2020)
Delta-rs version: 0.5.3
Binding:
Environment: Local environment w/Python 3.9.7
Bug
deltalake python module fails to install on M1 (arm64) Mac.
What happened:
Pip install fails.
What you expected to happen:
Module to successfully install.
How to reproduce it:
More details:
The text was updated successfully, but these errors were encountered: