【回眸】error: failed to compile `xxxxxx`重装rust环境

在ubuntu上安装软件报错

error: failed to compile `cxx2flow v0.6.2`

Caused by:

package `cargo-platform v0.1.9` cannot be built because it requires rustc 1.78 or newer, while the currently active rustc version is 1.75.0

Try re-running cargo install with `--locked`

尝试重装 rust.

使用命令装rust (对rust版本有要求的时候)

复制代码
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
info: downloading installer

运行后,会让你选择方式,选择1

重新执行编译下载二进制文件的命令,成功执行无报错

相关推荐
2603_954708319 小时前
交直流混合微电网架构:拓扑优化与功率交互设计
人工智能·分布式·物联网·架构·系统架构·能源
萤丰信息13 小时前
AI + 物联网在智慧园区的深度应用:落地场景 + 技术要点
人工智能·物联网
上海合宙LuatOS14 小时前
LuatOS扩展库API——【httpplus】HTTP客户端
网络·物联网·网络协议·http·lua·luatos
NCABGroup15 小时前
从设计与制造入手,如何对PCB的EMC进行优化?
单片机·嵌入式硬件·物联网·pcb·叠层结构·阻抗计算
上海合宙LuatOS15 小时前
LuatOS扩展库API——【 lbsLoc2】免费版单基站定位
数据库·物联网·oracle·junit·lua·luatos
AAAAA924016 小时前
物联网蜂窝模组:赋能口袋高清手持相机的实时互联与智能拍摄革新
数码相机·物联网·5g
纸鸢|16 小时前
物联网物模型原理与2026年行业现状
物联网
上海合宙LuatOS16 小时前
LuatOS扩展库API——【httpdns】使用HTTP进行域名解析
网络·物联网·网络协议·http·lua·luatos
独自归家的兔1 天前
OCPP 1.6 协议详解:StatusNotification 状态通知指令
开发语言·数据库·spring boot·物联网
QH139292318801 天前
KEYSIGHT E5071C 端网络分析仪
网络·功能测试·嵌入式硬件·物联网·单元测试·集成测试·模块测试