当前位置: 首页 > news >正文

windows10 pip安装ete4报错

**ete4(Environment for Tree Exploration v4)**是生物信息学领域核心的Python库,专注于系统发育树(进化树)的构建、操作、可视化及分析,广泛应用于进化生物学、生态学、流行病学、基因组学等研究场景。

windows10 pip安装ete3可以,安装ete4就不行,报错信息:

pip install ete4 Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Collecting ete4 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/fa/53/0ceedd63e4c872f668188a5de786a00b6b8854cb285a3dc69cd107c62038/ete4-4.4.0.tar.gz (1.4 MB) Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [34 lines of output] Error compiling Cython file: ------------------------------------------------------------ ... """ ^ ------------------------------------------------------------ ete4\core\operations.pyx:1:0: 'ete4\core\operations' is not a valid module name Compiling ete4\core\operations.pyx because it changed. Compiling ete4\core\tree.pyx because it changed. Compiling ete4\parser\newick.pyx because it changed. [1/3] Cythonizing ete4\core\operations.pyx Traceback (most recent call last): File "G:\comatespec\lingjingchong\.venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 389, in <module> main() File "G:\comatespec\lingjingchong\.venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 373, in main json_out["return_val"] = hook(**hook_input["kwargs"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "G:\comatespec\lingjingchong\.venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 143, in get_requires_for_build_wheel return hook(config_settings) ^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-3y9j6ica\overlay\Lib\site-packages\setuptools\build_meta.py", line 333, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-3y9j6ica\overlay\Lib\site-packages\setuptools\build_meta.py", line 301, in _get_build_requires self.run_setup() File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-3y9j6ica\overlay\Lib\site-packages\setuptools\build_meta.py", line 317, in run_setup exec(code, locals()) File "<string>", line 29, in <module> File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-3y9j6ica\overlay\Lib\site-packages\Cython\Build\Dependencies.py", line 1153, in cythonize cythonize_one(*args) File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-3y9j6ica\overlay\Lib\site-packages\Cython\Build\Dependencies.py", line 1297, in cythonize_one raise CompileError(None, pyx_file) Cython.Compiler.Errors.CompileError: ete4\core\operations.pyx [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed to build 'ete4' when getting requirements to build wheel

AI教给个方法,使用预编译版本安装,一次就过了!

pip install --only-binary=ete4 ete4

输出信息

(.venv) PS G:\traework\medai\acnes_amp_design> pip install --only-binary=ete4 ete4 Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Collecting ete4 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/f7/5a/af998ea73723e666e2b339694221ca24bcce5cae3913bed261752adecd02/ete4-4.0.0-py3-none-any.whl (1.6 MB) Collecting bottle (from ete4) Using cached https://pypi.tuna.tsinghua.edu.cn/packages/83/f6/b55ec74cfe68c6584163faa311503c20b0da4c09883a41e8e00d6726c954/bottle-0.13.4-py2.py3-none-any.whl (103 kB) Collecting brotli (from ete4) Downloading https://pypi.tuna.tsinghua.edu.cn/packages/1c/4e/bc1dcac9498859d5e353c9b153627a3752868a9d5f05ce8dedd81a2354ab/brotli-1.2.0-cp312-cp312-win_amd64.whl (369 kB) Requirement already satisfied: numpy in G:\comatespec\lingjingchong\.venv\Lib\site-packages (from ete4) (1.26.4) Requirement already satisfied: scipy in G:\comatespec\lingjingchong\.venv\Lib\site-packages (from ete4) (1.16.3) Requirement already satisfied: requests in G:\comatespec\lingjingchong\.venv\Lib\site-packages (from ete4) (2.31.0) Requirement already satisfied: charset-normalizer<4,>=2 in G:\comatespec\lingjingchong\.venv\Lib\site-packages (from requests->ete4) (3.4.4) Requirement already satisfied: idna<4,>=2.5 in G:\comatespec\lingjingchong\.venv\Lib\site-packages (from requests->ete4) (3.11) Requirement already satisfied: urllib3<3,>=1.21.1 in G:\comatespec\lingjingchong\.venv\Lib\site-packages (from requests->ete4) (2.6.3) Requirement already satisfied: certifi>=2017.4.17 in G:\comatespec\lingjingchong\.venv\Lib\site-packages (from requests->ete4) (2025.11.12) Installing collected packages: brotli, bottle, ete4 Successfully installed bottle-0.13.4 brotli-1.2.0 ete4-4.0.0

问题解决!

http://www.jsqmd.com/news/366584/

相关文章:

  • 字节开源登顶 GitHub:GUI Agent,正在悄悄改变 AI 的“用法”
  • 【计算机毕业设计案例】基于springboot的餐饮食品安全监测及风险预警系统基于springboot的食品安全监测及风险预警系统的设计与实现(程序+文档+讲解+定制)
  • 2026进阶课程带你掌握真正的执行力
  • LLM 应用开发是什么?
  • 盘点2026年TOP三大EOR名义雇主人力资源解决方案,EOR名义雇主服务优势全解析
  • 2026 尿毒症治疗新趋势,血液灌流耗材选择指南 - 品牌2025
  • 2026军用测绘无人机蜂群系统供应商推荐:探秘猎翼无人机的核心优势 - 品牌2025
  • 西门子6FC5447-0AA10-0AA0数控软件
  • 实用指南:深度学习9-循环神经网络
  • HarmonyOS 从移动到 PC,难点在哪里
  • 2026 年 PE/PVC 管厂家推荐权威测评:十大品牌精选与选购指南解析 - 深度智识库
  • 2026陕西标识导视设计企业排名:从功能指示到场景美学的升级 - 深度智识库
  • 2026肝衰竭、重型肝病做人工肝选择哪家耗材 - 品牌2025
  • ASP.NET环境下如何实现大文件断点续传上传功能?
  • 江浙沪百联OK卡春季回收最新价格表明细 - 淘淘收小程序
  • 2026广东最新至纯天珠供应链top5推荐!广州等地优质至纯天珠生产厂家权威榜单发布,工艺传承与文化价值双优之选 - 品牌推荐2026
  • 2026年4D厨房设备厂家推荐榜:酒店 / 餐饮 / 商用4D厨房设备公司品牌推荐 - 品牌之家
  • 京东e卡闲置1分钟提现到微信的简单步骤分解 - 淘淘收小程序
  • 亲测好用 9个AI论文平台:研究生毕业论文写作全维度测评
  • 拒绝“Demo 级”架构:基于 SAE SLS 构建 Dify 高可用生产底座
  • 2026年山东一卡通回收1分钟热门高效平台合集 - 淘淘收小程序
  • 用实力说话千笔·专业降AI率智能体,全网顶尖的降AIGC网站
  • 2026军用群控协同无人机蜂群系统供应商推荐:猎翼无人机赋能实战 - 品牌2025
  • Java开发中几种常规的排序编程方案
  • 退役记
  • 2026军用实时侦察成像无人机集群软硬一体化供应商优选推荐,猎翼无人机成军用实时成像新选择 - 品牌2025
  • 揭秘:东方墨兰能领的最大面额红包是多少,美团App更便宜更省心 - 资讯焦点
  • 2026军用多机协同无人机蜂群系统供应商推荐与猎翼无人机的核心优势讲解 - 品牌2025
  • 实测有效!奈雪的茶外卖如何减免配送费,美团满减+神券双重省 - 资讯焦点
  • 2026陕西标识导视设计Top5榜单:行业积淀与落地能力综合评测 - 深度智识库