Mac os zsh: command not found: pip

I am learning python, and in some article I tell you what I should use pip, but when I try to establish pip success, it tells me

zsh: command not found: pip

this is my python

➜  ~ git:(master) ✗ which -a python
/usr/bin/python

python version

➜  ~ git:(master)python --version
Python 3.5.0

User configuration

.zshrc

export PATH="/Library/Frameworks/Python.framework/Versions/3.5/bin:/Users/hedongfang/.rvm/gems/ruby-2.0.0-p643/bin:/Users/hedongfang/.rvm/gems/ruby-2.0.0-p643@global/bin:/Users/hedongfang/.rvm/rubies/ruby-2.0.0-p643/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/hedongfang/.rvm/bin:/System/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages"
export MANPATH="/usr/local/man:$MANPATH"

I am new to python, so if you want anything else, tell me.

+4
source share
1 answer

If you are on MAC OS X, you can try: sudo easy_install pip

Pip does not come to native with MAC OS.

+6
source

Source: https://habr.com/ru/post/1672835/


All Articles