Hello All, Thanks I got it now.
One related question: Can I use pip3 for example to install packages project specific, but not globally? So that when I delete the project, all of them gone also from my disk. Thanks, Arup Rakshit a...@zeit.io > On 30-Mar-2019, at 2:05 PM, Cameron Simpson <c...@cskk.id.au> wrote: > > On 30Mar2019 13:50, Arup Rakshit <a...@zeit.io> wrote: >> When I read this https://pip.pypa.io/en/stable/installing/ it says I have >> the pip installed when I installed the python from official doc. But when I >> run the `pip` command from shell, I get error, but pip3 works. >> >> ~/python_playground >> ▶ pip --version >> >> zsh: command not found: pip >> >> ~/python_playground >> >> ⍉ >> ▶ pip3 --version >> >> pip 18.1 from >> /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip >> (python 3.7) > > Ok, you've installed python 3 on a Mac. > > Historically most systems have shipped with python 2 (from the OS vendor, > which is Apple in your case), and the "python" command invokes Python 2. So > python 3 is installed as the "python3" command to avoid confusion. The "pip" > command from your python 3 install looks like it is also installed as "pip3" > to avoid confusion. > >> Do I always need to install using pip3 program then? > > Yes, that is correct for this particular install. > > Cheers, > Cameron Simpson <c...@cskk.id.au> > -- > https://mail.python.org/mailman/listinfo/python-list -- https://mail.python.org/mailman/listinfo/python-list