简体   繁体   中英

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' terminated by signal SIGABRT (Abort) ,然后我得到这个弹出窗口: https : fish: 'pip install tweepy' terminated by signal SIGABRT (Abort)我尝试安装 Python 库,但遇到相同的错误

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM