简体   繁体   中英

Pip is not found for brewed Python (3)

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

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

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