在安装 firebase_admin 期间,我遇到了一个关于 Rust 的问题。

huangapple go评论69阅读模式
英文:

during the installation of firebase_admin I found a problem concerning the rust

问题

这个包要求 Rust 的版本 >=1.56.0。

注意:这个错误源自子进程,很可能与 pip 无关。

错误:构建 cryptography 时失败。

未能为 cryptography 构建 wheels,这是安装基于 pyproject.toml 的项目所需的。我尝试安装它但没有成功。

英文:
 This package requires Rust >=1.56.0.
      [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

I tried to install it but to no avail.

答案1

得分: -1

在你的计算机上按照https://www.rust-lang.org/tools/install上的说明安装Rust。不能使用pip安装。

在一些Ubuntu系统上,可以使用以下命令安装:

sudo apt-get install rustc cargo

在其他系统上,可以使用以下curl命令:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

英文:

Install rust for your computer using the instructions at https://www.rust-lang.org/tools/install It cannot be installed with pip

On some ubuntu systems apt-get can install it with

sudo apt-get install rustc cargo

On other systems a curl pipe should be used

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

huangapple
  • 本文由 发表于 2023年7月4日 21:24:31
  • 转载请务必保留本文链接:https://go.coder-hub.com/76613118.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定