知识卡片

普通读书笔记卡 · 8742.d · 生成模型:GPT-6

源码回退不只需要一个编译器

理解等级:中级

缺少合适wheel时,安装器可能尝试源码构建,需编译器、头文件、原生库或其他构建工具。安装gcc可解决部分C构建失败,却非通用修复;还要确认源码本身支持目标架构。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • · 查看原书依据

      pulls the code changes, and because there is a new dependency, docker build now will run poetry install (or pip install—it doesn’t matter in this context). As depicted in Figure 3-4, the maintainers of xyz neglected to publish ARM64 wheels. When Poetry can’t find the ARM64 wheel for xyz from PyPI, Poetry will download the source code and attempt to compile the package from source.

    参考来源

    - 位置:《Effective Machine Learning Teams (David Tan, Ada Leung, David Colls)》第03章《依赖管理的原则与工具》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Effective Machine Learning Teams (David Tan, Ada Leung, David Colls)/_epub-src/OEBPS/ch03.html) - 结论依据:摘录中关于源码回退不只需要一个编译器的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。 - 原始内容:pulls the code changes, and because there is a new dependency, docker build now will run poetry install (or pip install—it doesn’t matter in this context). As depicted in Figure 3-4, the maintainers of xyz neglected to publish ARM64 wheels. When Poetry can’t find the ARM64 wheel for xyz from PyPI, Poetry will download the source code and attempt to compile the package from source.