列表依赖性没有车轮

发布于 2025-01-30 18:19:49 字数 189 浏览 3 评论 0原文

我正在一个项目中,有些库很旧,我不会升级它们以避免使用C/C ++编译器重新编译,

是否有某种方法可以验证或检查哪些依赖性没有预构建的轮子?

让我更好地解释一下:我有一个带有一些过时的库的项目,这些库有AMD64的二进制文件,但没有ARM64。我正在寻找一种列出这些图书馆并仅升级这些图书馆的方法(希望现在它们有ARM64的二进制文件)

I am on a project where some libraries are pretty old, and I won't upgrade them in order to avoid recompiling with a C/C++ compiler

Is there some way to verify or check which dependencies there is no pre-built wheel?

Let me explain better: I have a project with some outdated libraries, those libraries have binaries for amd64, but not for arm64. I am looking for a way to list those libraries and upgrade only these libraries (hopefully now they have binaries for arm64)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

醉梦枕江山 2025-02-06 18:19:49

运行

pip install --only-binary=:all:  -r requirements.txt

我认为您可以尝试在目标平台上

,并查看哪些版本可以解决或因“未找到匹配的分布”而失败。请注意,如果您遇到一个尚未发布轮子的纯Python项目,则应使用- No-Binary flag将其豁免。

I think you could attempt to run

pip install --only-binary=:all:  -r requirements.txt

in the target platform and see what versions get resolved or what fails with a "No matching distribution found".

Beware that if you run into a pure python project that didn't publish a wheel yet, you should exempt it with the --no-binary flag.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文