玩客云安装 HomeAssistant时,Armbain系统安装cryptography报错:Failed building wheel for cryptography
pip install cryptography
官方文档已经看过了:https://cryptography.io/en/latest/installation/
(1)Building wheel for cryptography (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [192 lines of output]
(2)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.10.6
platform: Linux-5.9.0-rc7-aml-s812-armv7l-with-glibc2.28
pip: n/a
setuptools: 65.3.0
setuptools_rust: 1.5.1
=============================DEBUG ASSISTANCE=============================
(3)error: cargo rustc --lib --message-format=json-render-diagnostics --manifest-path src/rust/Cargo.toml --release -v --features 'pyo3/extension-module pyo3/abi3-py36' -- --crate-type cdylib
failed with code 101
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
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
1、升级pip ,已经是最新版本
2、按提示参照官网先安装 Rust,已经是最新版
3、按网络上的教程:(1)利用官方源,未得到解决;(2)利用国内镜像源,试了个遍,未得到解决。
想了解还有什么解决办法:现在的疑问是否是python版本过高不支持?(程序安装包网址:https://pypi.org/project/cryptography/#files)