Rahul Dapke
Rahul Dapke

Reputation: 355

pip install awscli : pip: command not found?

I'm started gitlab DevOps implementation. Everything is going fine. Just i am stuck with following error:

pip: command not found

I am started my gitlab pipeline. All stages succeed. Just except below script line where my operation is stucked:

  script:
    - pip install awscli

Error:

$ pip install awscli
bash: line 77: pip: command not found
ERROR: Job failed: exit status 1

Upvotes: 1

Views: 4259

Answers (3)

Avinash Dalvi
Avinash Dalvi

Reputation: 9311

https://linuxize.com/post/how-to-install-pip-on-ubuntu-18.04/

Python 3.x

sudo apt update
sudo apt install python3-pip
pip3 --version

python 2.x

pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)

sudo apt update
sudo apt install python-pip
pip --version

Upvotes: 1

user11460219
user11460219

Reputation:

Try pip3 install awscli instead of pip install awscli.

If it doesn't help, use sudo apt install python3-pip

Upvotes: 2

Related Questions