龙芯loongarch64服务器编译安装maturin

前言

  maturin 是一个构建和发布基于 Rust 的 Python 包的工具,但是在安装maturin的时候,会出现如下报错:error: can't find Rust compiler

龙芯loongarch64服务器编译安装maturin_第1张图片

这里记录问题解决过程中遇到的问题:

1、根据错误的提示需要安装Rust Compiler,首先去其官网按照官网给的解决办法提供进行安装

龙芯loongarch64服务器编译安装maturin_第2张图片

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

报错:

通过第一种方式安装,并不能解决问题。

2、采用yum的方式安装已编译好的rust包

yum in

你可能感兴趣的:(龙芯loongarch64,centos,linux,运维)