诗歌仅二进制安装

发布于 2025-01-31 02:05:00 字数 98 浏览 1 评论 0原文

诗歌中有类似于此PIP命令的东西吗?

pip install --only-binary=:all:

我想避免编译东西

Is there something similar to this pip command in Poetry?

pip install --only-binary=:all:

I want to avoid compiling stuff

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

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

发布评论

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

评论(1

却一份温柔 2025-02-07 02:05:00

中可用

我担心支持相反的支持-No-Binary Flag直到最近才引入,并且仅在现在未发行的Poetry-1.2 https://github.com/python-poetry/poetry/poetry/poetry/pull/5600

所以现在他们正在努力,我建议您快点赶上来,并要求 - - 二进制功能。

但是,对于足够大的(?)诗歌版本,您也许可以绕过使用的选项

PIP_ONLY_BINARY=:all: poetry install

(请参阅 https://github.com/python-poetry/poetry/poetry/issues/365#issuecomment-711476521

I fear support for the opposite --no-binary flag was only very recently introduced and will only be available in the now unreleased poetry-1.2

https://github.com/python-poetry/poetry/pull/5600

So now that they are working on it, I suggest you hurry up and request the --only-binary feature as well.

Yet, for old enough (?) poetry versions you might be able to bypass the option to pip with

PIP_ONLY_BINARY=:all: poetry install

(See https://github.com/python-poetry/poetry/issues/365#issuecomment-711476521)

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