AlmaLinux release 9.4 (Seafoam Ocelot)安装包 build失败

pip 安装失败

显示 build 失败

Building wheels for collected packages: cymem, murmurhashBuilding wheel for cymem (pyproject.toml) ... errorerror: subprocess-exited-with-error× Building wheel for cymem (pyproject.toml) did not run successfully.│ exit code: 1╰─> [32 lines of output]running bdist_wheelrunning buildrunning build_pycreating build/lib.linux-x86_64-cpython-38/cymemcopying cymem/__init__.py -> build/lib.linux-x86_64-cpython-38/cymemcopying cymem/about.py -> build/lib.linux-x86_64-cpython-38/cymemcreating build/lib.linux-x86_64-cpython-38/cymem/testscopying cymem/tests/__init__.py -> build/lib.linux-x86_64-cpython-38/cymem/testscopying cymem/tests/test_import.py -> build/lib.linux-x86_64-cpython-38/cymem/testscopying cymem/cymem.pyx -> build/lib.linux-x86_64-cpython-38/cymemcopying cymem/__init__.pxd -> build/lib.linux-x86_64-cpython-38/cymemcopying cymem/cymem.pxd -> build/lib.linux-x86_64-cpython-38/cymemrunning build_extbuilding 'cymem.cymem' extensioncreating build/temp.linux-x86_64-cpython-38/cymemg++ -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/python3/include/python3.8 -I/home/venvs/alita/include -I/usr/local/python3/include/python3.8 -c cymem/cymem.cpp -o build/temp.linux-x86_64-cpython-38/cymem/cymem.o -O3 -Wno-strict-prototypes -Wno-unused-function/tmp/pip-build-env-i5yohk0c/overlay/lib/python3.8/site-packages/setuptools/dist.py:495: SetuptoolsDeprecationWarning: Invalid dash-separated options!!********************************************************************************Usage of dash-separated 'index-url' will not be supported in futureversions. Please use the underscore name 'index_url' instead.By 2025-Mar-03, you need to update your project and remove deprecated callsor your builds will no longer be supported.See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.********************************************************************************!!opt = self.warn_dash_deprecation(opt, section)error: command 'g++' failed: Not a directory[end of output]note: This error originates from a subprocess, and is likely not a problem with pip.ERROR: Failed building wheel for cymemBuilding wheel for murmurhash (pyproject.toml) ... errorerror: subprocess-exited-with-error× Building wheel for murmurhash (pyproject.toml) did not run successfully.│ exit code: 1╰─> [36 lines of output]running bdist_wheelrunning buildrunning build_pycreating build/lib.linux-x86_64-cpython-38/murmurhashcopying murmurhash/__init__.py -> build/lib.linux-x86_64-cpython-38/murmurhashcopying murmurhash/about.py -> build/lib.linux-x86_64-cpython-38/murmurhashcreating build/lib.linux-x86_64-cpython-38/murmurhash/testscopying murmurhash/tests/__init__.py -> build/lib.linux-x86_64-cpython-38/murmurhash/testscopying murmurhash/tests/test_hash.py -> build/lib.linux-x86_64-cpython-38/murmurhash/testscopying murmurhash/tests/test_import.py -> build/lib.linux-x86_64-cpython-38/murmurhash/testscopying murmurhash/mrmr.pyx -> build/lib.linux-x86_64-cpython-38/murmurhashcopying murmurhash/__init__.pxd -> build/lib.linux-x86_64-cpython-38/murmurhashcopying murmurhash/mrmr.pxd -> build/lib.linux-x86_64-cpython-38/murmurhashcreating build/lib.linux-x86_64-cpython-38/murmurhash/include/murmurhashcopying murmurhash/include/murmurhash/MurmurHash2.h -> build/lib.linux-x86_64-cpython-38/murmurhash/include/murmurhashcopying murmurhash/include/murmurhash/MurmurHash3.h -> build/lib.linux-x86_64-cpython-38/murmurhash/include/murmurhashrunning build_extbuilding 'murmurhash.mrmr' extensioncreating build/temp.linux-x86_64-cpython-38/murmurhashg++ -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/python3/include/python3.8 -I/tmp/pip-install-4f621kqk/murmurhash_b1fa542d185146bc928670f8fe3ccb92/murmurhash/include -I/home/venvs/alita/include -I/usr/local/python3/include/python3.8 -c murmurhash/MurmurHash2.cpp -o build/temp.linux-x86_64-cpython-38/murmurhash/MurmurHash2.o -O3 -Wno-strict-prototypes -Wno-unused-function/tmp/pip-build-env-wiwrjfhc/overlay/lib/python3.8/site-packages/setuptools/dist.py:495: SetuptoolsDeprecationWarning: Invalid dash-separated options!!********************************************************************************Usage of dash-separated 'index-url' will not be supported in futureversions. Please use the underscore name 'index_url' instead.By 2025-Mar-03, you need to update your project and remove deprecated callsor your builds will no longer be supported.See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.********************************************************************************!!opt = self.warn_dash_deprecation(opt, section)error: command 'g++' failed: Not a directory[end of output]note: This error originates from a subprocess, and is likely not a problem with pip.ERROR: Failed building wheel for murmurhash
Failed to build cymem murmurhash
ERROR: Could not build wheels for cymem, murmurhash, which is required to install pyproject.toml-based projects

解决方案

yum install gcc-c++

执行后,解决问题。实际上是C++编译的问题,在linux中,gcc/g++/c++都是响应工具,细节上支持不同的细节规范,murmurhash3用到了必须要用c++编译的部分,所以我遇到了问题

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/bicheng/71295.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

CMS DTcms 靶场(弱口令、文件上传、tasklist提权、开启远程桌面3389、gotohttp远程登录控制)

环境说明 攻击机kali:192.168.111.128 信息收集 主机发现 ┌──(root㉿kali-plus)-[~/Desktop] └─# nmap -sP 192.168.111.0/24 Starting Nmap 7.94SVN ( https://nmap.org ) at 2024-11-23 14:57 CST Nmap scan report for 192.168.111.1 Host is up (0.00039s latenc…

vue3.x 的 toRef详细解读

在 Vue 3.x 中,toRef 是一个用于创建响应式引用的工具函数。它可以将一个响应式对象的某个属性转换为一个独立的 ref 对象,同时保持与原始属性的响应式连接。以下是 toRef 的详细解读和示例。 1. toRef 的作用 核心功能 toRef 用于从响应式对象&#x…

Leetcode 424-替换后的最长重复字符

给你一个字符串 s 和一个整数 k 。你可以选择字符串中的任一字符,并将其更改为任何其他大写英文字符。该操作最多可执行 k 次。 在执行上述操作后,返回 包含相同字母的最长子字符串的长度。 题解 可以先做LCR 167/Leetcode 03再做本题 滑动窗口&…

箭头函数的this指向谁

先看1个重要原则: 由Vue管理的函数,一定不要写箭头函数,箭头函数的this就不再是Vue实例了 箭头函数的 this 指向在定义时确定,继承自外层作用域(即定义时的上下文)的 this,且无法通过 call、app…

Linux下的Python开发环境

以下是在Ubuntu 22.04上安装XFCE桌面、配置中文环境、中文输入法、远程桌面;安装anaconda、PyCharm、谷歌浏览器等的步骤: 首先,正常安装完毕 Ubuntu 22.04 Linux。如果选择某些云平台的ECS服务器,可以用十几秒钟完成Ubuntu 22.0…

key-value---键值对

定义 键值对由两部分组成,一个是 “键”(key),另一个是 “值”(value)。“键” 是用于标识和访问 “值” 的唯一标识符,就像是一把钥匙,而 “值” 则是与该键相关联的数据或信息&…

【实战项目】BP神经网络识别人脸朝向----MATLAB实现

(꒪ꇴ꒪ ),Hello我是祐言QAQ我的博客主页:C/C语言,数据结构,Linux基础,ARM开发板,网络编程等领域UP🌍快上🚘,一起学习,让我们成为一个强大的攻城狮&#xff0…

Javascript中null、NaN、undefined区别(JS空值、Javascript空值)(?.链操作符)

文章目录 概述null的本质undefined的两面性系统层面的undefined开发者层面的undefined NaN的特殊性数值运算的异常标识NaN的独特比较行为 深入比较类型比较相等性比较 实践建议变量初始化错误检测属性检查(链操作符) 性能考虑 概述 JavaScript中的null、…

Java 运行时常量池笔记(详细版

📚 Java 运行时常量池笔记(详细版) Java 的运行时常量池(Runtime Constant Pool)是 JVM 方法区的一部分,用于存储编译期生成的字面量和符号引用。它是 Java 类文件常量池的运行时表示,具有动态…

STM32 HAL库USART串口中断编程:演示数据丢失

目录 一、开发环境 二、配置STM32CubeMX 三、代码实现与部署 四、运行结果: ​五、注意事项 上面讨论过,HAL_UART_Receive最容易丢数据了,可以考虑用中断来实现,但是HAL_UART_Receive_IT还不能直接用,容易数据丢失,实际工作中不会这样用,本文介绍STM32F103 HAL库函数…

Javascript网页设计案例:通过PDF.js实现一款PDF阅读器,包括预览、页面旋转、页面切换、放大缩小、黑夜模式等功能

前言 目前功能包括: 切换到首页。切换到尾页。上一页。下一页。添加标签。标签管理页面旋转页面随意拖动双击后还原位置 其实按照自己的预期来说,有很多功能还没有开发完,配色也没有全都搞完,先发出来吧,后期有需要…

缺陷检测之图片标注工具--labme

一、labelme简介 Labelme是开源的图像标注工具,常用做检测,分割和分类任务的图像标注。 它的功能很多,包括: 对图像进行多边形,矩形,圆形,多段线,线段,点形式的标注&a…

Kafka集群,常见MQ面试问题

Kafka 名词介绍 Topic: 消息队列,生产者和消费者面向的都是一个TopicBroker: 一个Kafka服务器就是一个Broker,一个集群由多个Broker组成。一个Broker可以容纳多个TopicProducer: 消息生产者,向Kafka Broker发生消息的客户端Consumer: 消息消…

Unity DeepSeek API 聊天接入教程(0基础教学)

Unity DeepSeek API 聊天接入教程(0基础教学) 1.DeepSeek 介绍 DeepSeek是杭州深度求索人工智能基础技术研究有限公司推出的一款大语言模型。2025年1月20日,DeepSeek-R1正式上线,和当前市面上的主流AI相比,它在仅有极少标注数据的情况下&am…

DeepSeek-R1 蒸馏 Qwen 和 Llama 架构 企业级RAG知识库

“DeepSeek-R1的输出,蒸馏了6个小模型”意思是利用DeepSeek-R1这个大模型的输出结果,通过知识蒸馏技术训练出6个参数规模较小的模型,以下是具体解释: - **知识蒸馏技术原理**:知识蒸馏是一种模型压缩技术,核…

el-input无法输入0.0001的小数,自动转换为0在vue3中的bug

今天遇到个bug&#xff0c;el-input中只能输入0.1或者输入0.1再加上00成为0.001&#xff0c;不能直接输入0.001&#xff0c;否则自动转换为0。需要去掉 v-model.number后面的 .number 源代码&#xff1a; <el-table-column label"实发数量" width"120"…

Spring事务原理 一

Spring事务管理有 声明式事务 和 编程式事务 两种方式&#xff0c;实现对数据库操作的ACID控制。其核心思想是将事务管理与业务逻辑解耦&#xff0c;开发者通过简单注解或配置即可管理复杂事务。 开启Spring事务&#xff0c;本质上就是在Spring容器中增加了一个Advisor&#x…

一周学会Flask3 Python Web开发-Debug模式开启

锋哥原创的Flask3 Python Web开发 Flask3视频教程&#xff1a; 2025版 Flask3 Python web开发 视频教程(无废话版) 玩命更新中~_哔哩哔哩_bilibili 默认情况&#xff0c;项目开发是普通模式&#xff0c;也就是你修改了代码&#xff0c;必须重启项目&#xff0c;新代码才生效&…

使用EasyExcel和多线程实现高效数据导出

​ 使用EasyExcel和多线程实现高效数据导出 1. 概述 在企业级应用中&#xff0c;数据导出是一个常见的需求。为了提高导出效率&#xff0c;尤其是在处理大量数据时&#xff0c;我们可以结合使用EasyExcel库和多线程技术。本文将详细介绍如何通过EasyExcel和多线程技术实现高…

[qt5学习笔记]Application Example示例程序源码解析

开发环境问题 vs2022下直接打开ui、ts文件失败 解决办法如下图&#xff0c; 设置designer独立运行。估计是嵌入运行存在些许bug。 同理&#xff0c;ts编辑工具linguist也存在这个问题。 qrc rc的编辑嵌入编辑都正常&#xff0c;但分离式更稳定可靠。 qt creator编译失败 原…