简体   繁体   中英

Install requests by pip, but it doesn't work

I have installed Homebrew which includes pip, doesn't it? But when I type $ pip install requests, in terminal, it shows

-bash: pip: command not found

Homebrew is a Mac package manager. You can use it to install pip, among other things, but it doesn't do so until you tell it to.

据我所知-您需要安装应该包含pip的python。

You mention trying "pip" while the documentation clearly mentions "pip3". On certain systems there's a difference.

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