Skip to content

error: Don't know the correct rust target for system type aarch64-unknown-linux-android. Please set the CARGO_BUILD_TARGET environment variable #6679

@japanese-xevvo

Description

@japanese-xevvo
  • Versions of Python, cryptography, cffi, pip, and setuptools
    you're using - in debug
  • How you installed cryptography - pip install cryptography
  • Clear steps for reproducing your bug
      =============================DEBUG ASSISTANCE=============================
      If you are seeing a compilation error please try the following steps to
      successfully install cryptography:
      1) Upgrade to the latest pip and try again. This will fix errors for most
         users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
      2) Read https://cryptography.io/en/latest/installation/ for specific
         instructions for your platform.
      3) Check our frequently asked questions for more information:
         https://cryptography.io/en/latest/faq/
      4) Ensure you have a recent Rust toolchain installed:
         https://cryptography.io/en/latest/installation/#rust

      Python: 3.9.7
      platform: Linux-4.14.117-perf-gf905233-aarch64-with-libc
      pip: n/a
      setuptools: 59.5.0
      setuptools_rust: 1.1.2
      =============================DEBUG ASSISTANCE=============================
error: Don't know the correct rust target for system type aarch64-unknown-linux-android. Please set the CARGO_BUILD_TARGET environment variable.

  ERROR: Failed building wheel for cryptography
Failed to build cryptography
ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects

pip 21.3.1 from /data/data/com.termux/files/usr/lib/python3.9/site-packages/pip (python 3.9)

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