Skip to main content

1 year ago

Error : sudo: pip: command not found


as  part of the ''Creating own EC2 workstation in the AWS Console'' lab I got the following error, could anyone help me please ?

Error: sudo:pip: command not found

Steps followed  as explained in lab:

1. Successfully Launched aws console
2. Successfully Launched EC2 instance and logged in
3. now trying to use pip command '' sudo pip install boto3'' to install python


Image of anthony
1 year ago
You have to install PIP first

Yum install python-pip

Image of davidcoy
1 year ago

 this usually occurs when the first AMI image is chosen during the EC2 instance creation process: Amazon Linux 2 AMI (HVM), SSD Volume Type . When selecting the AMI in the EC2 instance creation process, you'll want to choose the AMI that includes the following in its description: The default image includes AWS command line tools, Python, Ruby, Perl, and Java.