Skip to content

install failure on arm64 #54

@jasonkylelol

Description

@jasonkylelol

Collecting graspologic-native
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [17 lines of output]
error: failed to select a version for syn.
... required by package pyo3-macros-backend v0.23.4
... which is depended on by pyo3-macros v0.23.4
... which is depended on by pyo3 v0.23.4
... which is depended on by graspologic_native v1.2.3 (/tmp/pip-install-m2svnhv_/graspologic-native_a97add8076a848bbaae2f0208a27440f/packages/pyo3)
versions that meet the requirements =2.0.96 are: 2.0.96

  the package `pyo3-macros-backend` depends on `syn`, with features: `printing` but `syn` does not have these features.


  failed to select a version for `syn` which could resolve this conflict
  💥 maturin failed
    Caused by: Cargo metadata failed. Does your crate compile with `cargo build`?
    Caused by: `cargo metadata` exited with an error:
  Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/tmp/pip-modern-metadata-gbsml3rb', '--interpreter', '/root/.cache/pypoetry/virtualenvs/xS3fZVNL-py3.10/bin/python']' returned non-zero exit status 1.
  Checking for Rust toolchain....
  Running `maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-gbsml3rb --interpreter /root/.cache/pypoetry/virtualenvs/xS3fZVNL-py3.10/bin/python`
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

Metadata

Metadata

Assignees

No one assigned

    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