I just installed a new CentOS 7 w/KDE (I think I like Gnome better - but I digress) VM inside VMware Fusion 8.5.5.
I'm trying to follow these instructions:
http://docs.aws.amazon.com/cli/lates...all-linux.html
You'd think that'd be easy. But I needed to look elsewhere for more detailed instructions in how to install Python-3.6.0:
http://www.tecmint.com/install-python-in-linux/
Insert newb whining, is it just me or do ALL the Linux instructions (ever written) forget to explicitly tell you WHERE to install things? I mention this because my root problem feels like my $PATH variable isn't seeing Pip (step #4 in the AWS CLI installation instructions). I can't get passed that - so I'm no closer to install AWS CLI or Terraform.
My (not so) educated guess was to install Python in /usr/local/bin (notice that the AWS instructions mention ~/.local/bin - but all I see there is wheel - and I remember that from a post on using su - you need to be 'in the wheel'). So ~/.local/bin looks obviously wrong to me. I successfully downloaded the Python 3.6 tar ball to /usr/local/bin, and followed the instructions to the letter in that second Python URL. And I was met with what I hope is success.
$ python3 --version
Python 3.6.0
However, I was looking around I saw Python 2.7 in /usr/bin - and now I'm worried you are laughing and typing a post to tell me that oops - you need to start over. Note: do NOT be shy about just telling me to blow away this VM and start over - I don't really like KDE and I'm not afraid of starting over. Back to trying to follow the AWS instructions in /usr/local/bin
$ python3 get-pip.py --user
Requirement already up-to-date: pip in ./lib/python3.6/site-packages
It tells me to edit my .bash_profile and add the new directory to the path and the export $PATH. Did that with $ vi .bash_profile.
$ pip --version
:bash: $: command not found
I am out of ideas.