Mon 2019-01-14 19:24:05 UTC, ann25099:
>
> 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.)
>

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
    >>> subprocess.call('pip install <module>', shell=True)

If none of these work and you are still stuck, say how you installed Python 
and pip.

-- 
You received this message because you are subscribed to the Google Groups 
"virtualenv" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python-virtualenv+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python-virtualenv/990c97fe-8410-464c-92d1-87488b39347e%40googlegroups.com.

Reply via email to