【问题标题】:While installing AppKit, command errored out with exit status 1. How can I resolve this?安装 AppKit 时,命令出错,退出状态为 1。我该如何解决这个问题?
【发布时间】:2021-08-28 07:17:20
【问题描述】:

我正在处理一个文件夹清理项目,并尝试使用以下命令安装 AppKit:

> pip3 install appkit

但是,我收到了一系列错误消息。第一个错误是:

>  ERROR: Command errored out with exit status 1:

完整的错误信息:

https://pastebin.com/zxDSMzMy

我使用的是在 macOS 11.0.1 上运行的 Python 3.9

如何解决这个问题并安装 AppKit?

【问题讨论】:

  • this library吗?它似乎只支持 Gnome 桌面。那里有 2019 年的 an issue,但其他不多。不过我在 Stack Overflow 上也找到了this answer,或许你可以试试看。
  • 感谢您的评论!我在该页面中找到了解决方案,但答案不同。 link

标签: python macos appkit cairo pycairo


【解决方案1】:

卸载 pyobjc安装 iterm2(包括pyobjcAppKit)后,问题已解决。

在这个answer的解释。

【讨论】:

    猜你喜欢
    • 2021-03-31
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-07-29
    • 2023-01-03
    • 2020-03-12
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多