Search code examples
macospipfish

Whenever I type pip install on my Mac I get this error: fish: 'pip install tweepy' terminated by signal SIGABRT (Abort)


Whenever I type pip install on my Mac, I get this error fish: 'pip install tweepy' terminated by signal SIGABRT (Abort) and then I get this popup: https://i.sstatic.net/qt1VB.jpg It does not matter what Python library I try to install, I just get the same error


Solution

  • Your problem has nothing to do with the fish shell. The python 2.7 binary used by pip is attempting to load the /usr/lib/libcrypto.dylib shared library and that library in turn is calling abort(). Probably because it isn't compatible with the python 2.7 binary you installed with Homebrew. You probably recently updated macOS but didn't update the software installed by Homebrew. Try running brew upgrade then brew update.

    And, as Mark noted in his comments, python 2.7 is dead and you really should switch to python 3.x.