V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
yaron
V2EX  ›  问与答

请教大佬们一个关于 macos 安装 lxml 异常的问题

  •  
  •   yaron · 284 天前 · 373 次点击
    这是一个创建于 284 天前的主题,其中的信息可能已经有所发展或是发生改变。

    刚在 requirements.txt 加了 lxml 后,macos 安装支持库时,老是报错

    src/lxml/etree.c:262403:23: error: no member named 'exc_type' in 'struct _err_stackitem'

    想问下有没有什么解决方法?

    workflow

    日志

    1 条回复    2023-09-06 13:10:42 +08:00
    mkmoon
        1
    mkmoon  
       284 天前 via iPhone
    我用的 miniconda 里的 python 环境,pip 安装正常,系统是 12.6.8
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1834 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 16:22 · PVG 00:22 · LAX 09:22 · JFK 12:22
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.