【发布时间】:2022-11-06 03:49:55
【问题描述】:
我正在尝试为我的烧瓶应用程序运行 pip install flask-bcrypt 但我遇到了以下错误 ==============================DEBUG 援助============================== 如果您看到编译错误,请尝试以下步骤 成功安装 bcrypt: 1) 升级到最新的 pip 并重试。这将修复大多数错误 用户。见:https://pip.pypa.io/en/stable/installing/#upgrading-pip 2) 确保您安装了最新的 Rust 工具链。 bcrypt 需要 生锈> = 1.56.0。
Python: 3.9.12
platform: Windows-10-10.0.19044-SP0
pip: n/a
setuptools: 65.5.0
setuptools_rust: 1.5.2
rustc: 1.64.0 (a55dd71d5 2022-09-19)
=============================DEBUG ASSISTANCE============================
error: `cargo rustc --lib --message-format=json-render-diagnostics --manifest-path src\_bcrypt\Cargo.toml --release -v --features 'pyo3/abi3-py36 pyo3/extension-module' -- --crate-type cdylib` failed with code 101
[end of output]
注意:此错误源自子进程,可能不是 pip 的问题。 错误:bcrypt 构建轮子失败 构建 bcrypt 失败 错误:无法为 bcrypt 构建轮子,这是安装基于 pyproject.toml 的项目所必需的
我已经尝试升级到最新的 pip、pip install wheel 和更新 rustc。很抱歉造成混乱,第一次在stackoverflow上寻求帮助。
【问题讨论】:
-
错误:
cargo rustc --lib --message-format=json-render-diagnostics --manifest-path src\_bcrypt\Cargo.toml --release -v --features 'pyo3/abi3-py36 pyo3/extension-module' -- --crate-type cdylib失败,代码 101 -
错误:无法为 bcrypt 构建轮子,这是安装基于 pyproject.toml 的项目所必需的
-
欢迎来到 SO。 (How to Ask 和tour 是很好的起点。)请edit 您的问题包含完整的错误输出。
-
请澄清您的具体问题或提供其他详细信息以准确突出您的需求。正如它目前所写的那样,很难准确地说出你在问什么。