简体   繁体   English

有没有办法只允许点子安装通用轮子

[英]Is there a way to only allow pip to install universal wheels

有没有一种方法可以强制pip只允许通用或python轮子,并编译仅可作为二进制轮子使用的本地软件包?

pip install --implementation py will only install universal wheels. pip install --implementation py将仅安装通用轮子。 You will also need to specify what to do about dependencies (if you try running this command without the other required flags there will be an error message that explains what your options are). 您还需要指定如何处理依赖项(如果您在没有其他必需标志的情况下尝试运行此命令,将出现一条错误消息,说明您的选项)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Pip安装和平台专用车轮 - Pip install and platform specific wheels `pip wheel` 命令可以创建*通用* 轮子吗? - Can`pip wheel` command create *universal* wheels? ansible pip:在虚拟环境中递归安装轮子 - ansible pip: recursively install wheels in a virtualenv 有没有办法让pip在更新的requirements.txt中只安装新的依赖项 - Is there a way for pip to install only new dependencies in an updated requirements.txt 无法使用 python3/pip 安装本地轮子(此平台上不支持轮子) - can't install local wheels with python3/pip (not a supported wheel on this platform) Docker:执行“RUN pip install --no-cache /wheels/*”命令时出错 - Docker : error while performing “RUN pip install --no-cache /wheels/*” command PIP 错误:无法为 sip 构建轮子,这是安装基于 pyproject.toml 的项目所必需的 - PIP error : cannot build wheels for sip, which is required to install pyproject.toml-based projects 如何在使用 pip 为 requirements.txt 中的其他包构建​​轮子之前安装某些包? - How to install certain packages before building wheels for other packages in requirements.txt using pip? 允许“ pip安装”忽略本地版本 - Allow “pip install” to ignore local versions 在 Ubuntu 上安装 pip 的正确方法 - Proper way to install pip on Ubuntu
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM