【问题标题】:Whenever I type pip install on my Mac I get this error: fish: 'pip install tweepy' terminated by signal SIGABRT (Abort)每当我在 Mac 上键入 pip install 时,我都会收到此错误:fish: 'pip install tweepy' terminate by signal SIGABRT (Abort)
【发布时间】:2019-12-27 06:19:29
【问题描述】:

每当我在我的 Mac 上输入 pip install 时,我都会收到此错误 fish: 'pip install tweepy' terminated by signal SIGABRT (Abort) 然后我得到这个弹出窗口: https://imgur.com/a/uILEq1v 不管我尝试安装什么 Python 库,我都会得到同样的错误

【问题讨论】:

  • 你为什么还要运行 Python v2.7?它会在 4 天后报废。
  • @MarkSetchell 这是否意味着 Python 2.7、pip 或 3rd-party 库将在 4 天内停止工作?
  • 不,这意味着不会有任何更新或支持,并且由于 Python 3 已经发布了 11 年,可能是时候继续前进并停止担心 Python v2 问题了。

标签: macos pip fish


【解决方案1】:

您的问题与鱼壳无关。 pip 使用的 python 2.7 二进制文件正在尝试加载 /usr/lib/libcrypto.dylib 共享库,而该库又调用 abort()。可能是因为它与您使用 Homebrew 安装的 python 2.7 二进制文件不兼容。您可能最近更新了 macOS,但没有更新 Homebrew 安装的软件。尝试运行brew upgrade,然后运行brew update

而且,正如 Mark 在他的 cmets 中指出的那样,python 2.7 已经死了,你真的应该切换到 python 3.x。

【讨论】:

    猜你喜欢
    • 2021-07-01
    • 1970-01-01
    • 2017-10-28
    • 1970-01-01
    • 2021-08-01
    • 2020-05-01
    • 2020-11-08
    • 1970-01-01
    • 2021-10-18
    相关资源
    最近更新 更多