I have python version 2.7.12 and the location is -
/usr/bin/python
I have the pip version as below -
pip 18.1 from /usr/local/lib/python2.7/dist-packages/pip (python 2.7)
Pip location is -
/usr/local/bin/pip
I execute the following -
sudo pip install awscli --upgrade --user
It returns - "Successfully installed awscli-1.16.73"
Now when i execute aws on command line i get the following -
Traceback (most recent call last):
File "/home/Dan/.local/bin/aws", line 19, in <module>
import awscli.clidriver
ImportError: No module named awscli.clidriver
I am stuck here. I think pip is installing awscli into a different directory. Any help is deeply appreciated.