[ec2-user@ip-172-31-11-0 Module6]$ pip intall boto3 -t /home/ec2-user/greenTest/Module6
-bash: pip: command not found
sudo: pip: command not found
[ec2-user@ip-172-31-7-149 ~]$
sudo easy_install pip
- Please intall python at first
[ec2-user@ip-172-31-11-0 Module6]$
sudo yum install python3
[ec2-user@ip-172-31-11-0 Module6]$
curl -O https://bootstrap.pypa.io/get-pip.py
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1734k 100 1734k 0 0 13.4M 0 --:--:-- --:--:-- --:--:-- 13.3M
[ec2-user@ip-172-31-11-0 Module6]$ ls -al
total 1740
drwxrwxr-x 3 ec2-user ec2-user 46 Dec 9 07:04 .
drwxrwxr-x 6 ec2-user ec2-user 4096 Dec 9 06:59 ..
drwxrwxr-x 2 ec2-user ec2-user 30 Dec 9 07:00 car_aggregator
-rw-rw-r-- 1 ec2-user ec2-user 1775835 Dec 9 07:04 get-pip.py
[ec2-user@ip-172-31-11-0 Module6]$
python3 get-pip.py --user
Collecting pip
Downloading https://files.pythonhosted.org/packages/00/b6/9cfa56b4081ad13874b0c6f96af8ce16cfbc1cb06bedf8e9164ce5551ec1/pip-19.3.1-py2.py3-none-any.whl (1.4MB)
|████████████████████████████████| 1.4MB 5.5MB/s
Collecting wheel
Downloading https://files.pythonhosted.org/packages/00/83/b4a77d044e78ad1a45610eb88f745be2fd2c6d658f9798a15e384b7d57c9/wheel-0.33.6-py2.py3-none-any.whl
Installing collected packages: pip, wheel
Successfully installed pip-19.3.1 wheel-0.33.6
[ec2-user@ip-172-31-11-0 Module6]$ ^C