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

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

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

    刚在 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  
       245 天前 via iPhone
    我用的 miniconda 里的 python 环境,pip 安装正常,系统是 12.6.8
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1064 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 20:15 · PVG 04:15 · LAX 13:15 · JFK 16:15
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.