pip3 在 macOS 上崩溃

pip3 crashes on macOS

我刚刚升级到 macOS Catalina,我用过 brew install dpkg,自制软件决定是时候 运行 brew cleanup

在 运行 之后,我已经无法 运行 pip3 了。

尝试了 运行宁 brew doctorbrew reinstall python3,但 none 有所帮助。

运行 pip3 输出:

[1] 26346 abort pip3

事实证明 brew uninstall python3 并没有真正卸载它,必须删除 /usr/local/lib/python3 才能真正删除安装,然后使用 brew install python3[=13 重新安装 python =]

solution to libcrypto complaining about using unversioned dylib from r.xuan that Marcos linked to seems like the best workaround for now. The steps in a bit more fool-proof fashion can be found .

我遇到了同样的问题,我找到了解决这个问题的方法,你可以在github中查看这个评论,它对我有用。

I found something that may be helpful! The asn1crypto python package imports libcrypto. I removed this package from my site packages /usr/local/lib/python3.7/site-packages and now pip3 works