2

I've just upgraded to macOS Catalina, I've used brew install dpkg, and homebrew decided it was time to run brew cleanup.

After running it, I've not been able to run pip3 anymore.

Tried running brew doctor and brew reinstall python3, but none helped.

Running pip3 outputs this:

[1] 26346 abort pip3

gkpln3
  • 1,317
  • 10
  • 24
  • your cross post on Apple-SE: https://apple.stackexchange.com/questions/372136/pip3-abort-signal-on-startup – iLuvLogix Oct 10 '19 at 11:23

3 Answers3

6

I meet the same problem, and i found the solution for this problem, you can check this comment in github, it's works for me.

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

yang song
  • 61
  • 2
3

It turns out brew uninstall python3 does not really uninstalls it, had to remove /usr/local/lib/python3 to really remove the installation, and then reinstall python using brew install python3

gkpln3
  • 1,317
  • 10
  • 24
2

The 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 in this SO answer.

JuroOravec
  • 326
  • 2
  • 9