bash: pip: command not found
Why not simply do sudo easy_install pip or if this can be for python a pair of.6 sudo easy_install-2.6 pip?
This installs pip mistreatment the default python package installer system and saves you the trouble of manual set-up all at identical time.
This will permit you to then run the pip command for python package installation because it are going to be put in with the system python. I conjointly advocate once you’ve got pip mistreatment the virtualenv package and pattern.
Use setuptools to put in pip:
sudo easy_install pip
(I apprehend the higher than a part of my answer is redundant with klobucar’s, however i am unable to add comments yet)
thus here’s a solution with an answer to sudo: easy_install: command not found on Debian/Ubuntu:
sudo apt-get install python-setuptools
Also, for python3, use easy_install3 and python3-setuptools.
First of all: attempt pip3 rather than pip. Example:
pip3 --version pip 9.0.1 from /usr/local/lib/python3.6/site-packages (python three.6)
pip3 ought to be put in mechanically along with Python3.x. The documentation hasn’t been updated, thus merely replace pip by pip3 within the directions, once putting in Flask as an example.
Now, if this does not work, you would possibly got to install pip on an individual basis.