0

I brewed python, but could not find pip. There is pip source code in python bin path, but no executable files.

I read a similar article Pip packages not found - Brewed Python that is helpless for me.

When brewing python, I also got the following error

Error: An unexpected error occurred during the brew link step The formula built, but is not symlinked into /usr/local Permission denied @ dir_s_mkdir - /usr/local/Frameworks Error: Permission denied @ dir_s_mkdir - /usr/local/Frameworks

William Song
  • 577
  • 6
  • 17

1 Answers1

0

Try running with sudo, otherwise you might want to run sudo chown -R $(whoami) $(brew --prefix)/* (as suggested here)

Else, you can try uninstalling and reinstalling again (see here)

Otherwise, you can always install pip separately with easy_install pip

Haren S
  • 719
  • 4
  • 15
  • `easy_install pip` will install pip for python2 that came with mac, since `easy_install` is also belong to python2. I will have a look at the suggestion. – William Song Feb 27 '19 at 11:05