bash don't have such command

Skip to first unread message


Jan 14, 2019, 2:24:05 PM1/14/19
to virtualenv
Installed pip 18.1, using Python 3.6.3 and Mac OSX 10.9.5.

when I type "pip install <module>" bash says "-bash: pip: command not found".

I tried to find somewhere how to install the command, but I didn't find anything.

(I could've made some mistakes. I'm not native. Sorry if your eyes are bleeding.)

Samuel Lelièvre

Aug 5, 2019, 4:42:03 PM8/5/19
to virtualenv

Mon 2019-01-14 19:24:05 UTC, ann25099:
It's possible this Python 3 pip is installed as pip3; try

    pip3 install <module>

Another way to install using pip is as follows:

    python -m pip install <module>

Finally, from inside Python or IPython, one can also pip install:

    >>> import subprocess
    >>>'pip install <module>', shell=True)

If none of these work and you are still stuck, say how you installed Python and pip.
Reply all
Reply to author
0 new messages