You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Linux下安装fastecdsa失败:Preparing metadata (pyproject.toml)报错求助

安装fastecdsa==2.2.2时metadata生成失败(exit code: -11)

我已经花了6小时尝试在Linux上成功安装fastecdsa,但始终无法解决问题。我不是Linux用户,因编程需求刚从Windows切换过来,当前使用Python 3.7。我试过多个兼容版本以及能找到的各种修复方案,都没有效果。

执行以下命令时出现报错:

sudo pip3 install --use-pep517 fastecdsa==2.2.2

报错输出:

Collecting fastecdsa==2.2.2
Using cached fastecdsa-2.2.2.tar.gz (48 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: -11
╰─> [11 lines of output]
running dist_info
creating /tmp/pip-modern-metadata-83zjk2ye/fastecdsa.egg-info
writing /tmp/pip-modern-metadata-83zjk2ye/fastecdsa.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-modern-metadata-83zjk2ye/fastecdsa.egg-info/dependency_links.txt
writing top-level names to /tmp/pip-modern-metadata-83zjk2ye/fastecdsa.egg-info/top_level.txt
writing manifest file '/tmp/pip-modern-metadata-83zjk2ye/fastecdsa.egg-info/SOURCES.txt'
reading manifest file '/tmp/pip-modern-metadata-83zjk2ye/fastecdsa.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file '/tmp/pip-modern-metadata-83zjk2ye/fastecdsa.egg-info/SOURCES.txt'
creating '/tmp/pip-modern-metadata-83zjk2ye/fastecdsa-2.2.2.dist-info'
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

恳请各位提供帮助,谢谢!

内容的提问来源于stack exchange,提问作者TMC FAMILY

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.01 19:56:50